Troubleshooting Nginx Configuration; Configuring A Public Ip Address For Nginx Nat Traversal - AudioCodes Mediant 4000 SBC User Manual

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

Advertisement

CHAPTER 16    Services

Troubleshooting NGINX Configuration

Troubleshooting may be necessary when configuring your HTTP or TCP/UDP proxy services with
NGINX directives. Due to the large and complex dictionary of directives supported by NGINX and
their complex grammatical structure, the device assists you by validating your configured
directives. It does this only once you have applied them (i.e., clicked the Apply button) in the
HTTP Directives table (see
In addition, the device generates the following NGINX configuration files:
nginx.conf: This file contains the currently active configuration, which is valid.
temp_nginx.conf: This file is generated if you have invalid configuration (directive errors). It is
a temporary file and contains your new configuration, which is invalid. It is applied only if the
device is restarted.
nginx.errors: This file is generated if you have invalid configuration (directive errors). This file
contains all the error messages, indicating the line on which the error exists in the temp_
nginx.conf file.
If you have modified your configuration and errors occur, the device continues running with the
previous, valid NGINX configuration, unless the device is restarted, in which case it applies and
uses the modified configuration.
In addition, if an NGINX validation error exists during configuration or if the device restarts with an
invalid NGINX configuration, the device indicates this by the following:
Sends an alarm to the Active Alarms table ("NGINX configuration file is not valid")
Sends the error to Syslog, which is marked with "http_app"
To send the NGINX files to a remote destination in tar fiel format (.tar), use the following CLI
command:
# copy nginx-conf-files to <Protocol>://<Address>/<filename>.tar
To view the NGINX files in CLI, use the following command:
show network http-proxy conf active|errors|new

Configuring a Public IP Address for NGINX NAT Traversal

When the device is located behind NAT, OVOC can only communicate with the device's
embedded NGINX HTTP-based proxy using the device's public static NAT address. However, by
default, the device sends OVOC its' private address. The device's address (private or public)
appears in the proprietary X-AC-Proxy-URL header in HTTP requests that the device sends to
OVOC.
To configure a public IP address for HTTP Proxy:
1.
Open the General Settings page (Setup menu > IP Network tab > HTTP Proxy folder >
General Settings).
2.
In the 'HTTP Proxy Global Address' (HttpProxyGlobalAddress) field, enter the public IP
address.
3.
Click Apply.
Configuring HTTP Directives
- 282 -
Mediant 4000 SBC | User's Manual
on page 277).

Advertisement

Table of Contents
loading

Table of Contents