Configuring Http Directive Sets - AudioCodes Mediant 4000 SBC User Manual

Session border controllers
Hide thumbs Also See for Mediant 4000 SBC:
Table of Contents

Advertisement

CHAPTER 16    Services
'Host'
host
[UpstreamHost_Host]
'Port'
port
[UpstreamHost_Port]
'Weight'
weight
[UpstreamHost_Weight]
'Max Connections'
max-connections
[UpstreamHost_MaxConnections]
'Backup'
backup
[UpstreamHost_Backup]

Configuring HTTP Directive Sets

The HTTP Directive Sets table lets you configure up to 30 HTTP Directive Sets. The table lets you
configure additional custom directives to HTTP Proxy server configuration. These directives are
reflected in the configuration file generated for the NGINX HTTP Proxy. The directives of each
HTTP Directive Set is configured in the HTTP Directives table (see
on page 277), which is a "child" of the HTTP Directive Sets table.
Parameter
Description
Defines the address of the host as an FQDN or IP
address (in dotted-decimal notation).
Note: The NGINX directive for this parameter is "server
host:port".
Defines the port number.
Note:
If the Upstream Group to which the host belongs is
configured to use the TCP/UDP protocol, then this
parameter must be configured.
The NGINX directive for this parameter is "server
ip:port". If not configured, NGINX defaults to 80 for
HTTP and 443 for HTTPS.
Defines the weight for the load balancer. The load
balancer distributes the requests among the hosts in the
Upstream Group based on the weight of each host. For
example, if host A is configured with a weight of 3, host
B with a weight of 1, and host C with a weight of 1, then
in each cycle, the load balancer will send three requests
to host A, one request to host B and one request to host
C.
The valid range is 1 to 100. The default is 1 (i.e., each
host in the Upstream Group has equal weight).
Note: The NGINX directive for this parameter is "server
ip:port weight=n".
Defines the maximum number of simultaneous active
connections to the proxied Upstream Host.
The default is 0 (i.e., unlimited).
Note: The NGINX directive for this parameter is "server
ip:port max_conns=n".
Enables the host to serve as a backup host. The
backup host does not receive any requests unless all
the primary hosts in the Upstream Group are down.
[0] Disable (default)
[1] Enable
Note: The NGINX directive for this parameter is "server
ip:port backup".
- 275 -
Mediant 4000 SBC | User's Manual
Configuring HTTP Directives

Advertisement

Table of Contents
loading

Table of Contents