inet_proxy_server
A proxy server for Vocalizer to fetch audio files from an application server.
Value |
Host name or IP address of the proxy server host. |
Default |
none (when the value is empty, Vocalizer performs the fetch instead of relaying the request to the proxy) |
How to set |
In addition, you must configure the HTTP CONNECT method. See below. |
Usage |
Use a proxy server to cache audio recordings instead of performing long or frequent network hops in geographically distributed systems. Instead of using this parameter to set up a proxy, consider using the more encompassing server.inet.HTTPproxyRules and server.inet.HTTPSproxyRules. This parameter is ignored if a more encompassing parameter is set. Required. If you use this parameter, you must set inet_proxy_server_port. Optional. Set up secure connections between the proxy and its application servers as described below. |
Optional. Set this parameter to any host that you've set up as a proxy to handle HTTP fetches. The proxy will fetch, cache, and deliver files while the location of the Speech Suite and application server hosts remain anonymous to each other. Doing this increases fetch speeds and security.
Configuring HTTP CONNECT
When you use proxy servers, Speech Suite can invoke the HTTP CONNECT method to request secure communications tunnels. To trigger this mechanism, do the following:
- Ensure that HTTP CONNECT is enabled on the proxy server and any application servers where fetches are performed. (Some proxy and web servers disable CONNECT by default.)
- Create an environment variable named PROXY_HTTP_CONNECT with a value of 1 (or true) on every Speech Suite host that uses a proxy server. On Windows, create the variable with the setenv command. On Linux, add the line export PROXY_HTTP_CONNECT=1 to these scripts:
Linux Service Script file to modify Recognizer /usr/local/Nuance/Recognizer/SETUP-env.sh
Speech Server $NSSSVRSDK/SETUP-env.sh Vocalizer /usr/local/Nuance/Vocalizer_for_Enterprise/SETUP-env.sh
Note: Applications can use HTTP or HTTPS in their fetch URLs.