CHAPTER16 Services
Mediant 4000 SBC | User's Manual
Parameter Description
■ 2) /files/phone – Prefix pattern type
■ 3) /files/firmware -- Prefix-Ignore-Regex pattern type
■ 4) *.jpg – Regex pattern type
Therefore, the request URL "/files/phone/aaa" matches Location 2
and the request URL "/files/phone/logo.jpg" matches Location 4.
The request URL "/files/firmware/logo.jpg" matches Location 3 (and
not Location 4).
Note: The NGINX directive for this parameter is "location modifier
pattern". For more information on NGINX modifiers, see ngx_http_
core_module.html.
'Upstream Scheme'
upstream-scheme
[HTTPLocation_
UpstreamScheme]
Defines the protocol for sending requests to the Upstream Group.
■ [0] HTTP (default)
■ [1] HTTPS
Note: The NGINX directive for this parameter is "proxy_pass
scheme://upstream".
'Upstream Group'
upstream-group
[HTTPLocation_
UpstreamGroup]
Assigns a group of servers (Upstream Group) to handle the HTTP
requests. To configure Upstream Groups, see Configuring Upstream
Groups on page272.
Note: The NGINX directive for this parameter is "proxy_pass
scheme://upstream".
'Upstream Path'
upstream-path
[HTTPLocation_
UpstreamPath]
Defines a path to prepend to the URL before sending the request to
the Upstream Group.
Note: The NGINX directive for this parameter is "proxy_pass
scheme://upstream/path".
'Outbound Interface'
outbound-intfc
[HTTPLocation_
OutboundInterface]
Assigns a local, IP network interface for sending requests to the
Upstream Group. To configure IP network interfaces, see
Configuring IP Network Interfaces on page96.
By default, no value is defined.
Note:
■ The parameter is mandatory.
■ The NGINX directive for this parameter is "proxy_bind".
'Additional Directive
Set'
directive-set
[HTTPLocation_
AdditionalDirectiveSet]
Assigns an NGINX directive set for the HTTP location. To configure
NGINX directives, see Configuring HTTP Directive Sets on
page275.
'Cache'
cache
[HTTPLocation_
Cache]
Enables the caching of files in this location.
■ [0] No
■ [1] Yes (default)
Note:
■ Currently, this feature is not supported.
■ The NGINX directive for this parameter is "proxy_cache
zone|off".
- 268 -