location

This command configures the HTTP Locations table, which lets you define HTTP locations per HTTP proxy servers.

Syntax

(config-network)# http-proxy
(http-proxy)# http-server <Index>
(http-server-<Index>)# locations <Index>
(location-<Index>/<Index>)#

Command

Description

Index

Defines the table row index.

cache {disable|enable}

Enables the caching of files in this location.

directive-set

Assigns an NGINX directive set for the HTTP location.

outbound-intfc

Assigns a local, IP network interface for sending requests to the Upstream Group.

tls-context

Assigns a TLS Context for the TLS connection with the HTTP location.

upstream-group

Assigns a group of servers (Upstream Group) to handle the HTTP requests.

upstream-path

Defines a path to prepend to the URL before sending the request to the Upstream Group.

upstream-scheme {HTTP| HTTPS}

Defines the protocol for sending requests to the Upstream Group.

url-pattern

Defines the URL pattern.

url-pattern-type {case-insensitive-regex|exact|prefix|prefix-ignore-regex|regex}

Defines the type of URL pattern used for configuring the url-pattern parameter.

verify-cert {disable|enable}

Enables TLS certificate verification when the connection with the location is based on HTTPS.

Command Mode

Privileged User

Example

This example configures an HTTP location for an HTTP proxy server:

(http-proxy)# http-server 0
(http-server-0)# location 0
(location-0/0)# outbound-intfc Voice
(location-0/0)# upstream-group ITSP-UP