Universal Messaging 10.7 | Administration Guide | Using Nginx with Universal Messaging | Nginx Directives Configuration
 
Nginx Directives Configuration
The following table describes the Nginx directives you must configure to redirect both HTTP and HTTPS traffic to Universal Messaging, and their required values.
Directives
Required Value
Description
proxy_buffering
off
Disable this directive for serving Universal Messaging requests because Universal Messaging does not send a content length to initial HTTP connections. This option optimizes stateless HTTP environments, but Universal Messaging uses a streaming protocol. Default is on.
proxy_pass
http|https://umhost:port
The URL of the proxied Universal Messaging server. Configure Universal Messaging with either an nhp or an nhps protocol. This directive takes either an HTTP or an HTTPS protocol respectively to redirect the requests, for example, http://umhost1:9000 or https://umhost1:9100.
keepalive
100
Number of keepalive idle connections that the Universal Messaging server can have. Part of the upstream directive. Keepalive settings are important when handling many client connections. This directive has no default value.
keepalive_requests
100000
Number of requests that can be served through a single keepalive connection to Universal Messaging. Software AG recommends that you set a high value. Default is 1000.
keepalive_ timeout
300s
Timeout in seconds for idle connections that remain open for the specified amount of time. Default is 75s.
proxy_http_version
1.1
Set the http version to 1.1. Default is 1.0.
proxy_set_header
Connection “”
Connection headers. Set an empty value. Default is close, which closes the connections of the Universal Messaging server.
proxy_read_timeout
120s
Timeout in seconds for reading a response from the Universal Messaging server. This directive controls how long Nginx waits for the Universal Messaging server to send a response or to continue sending data after the initial byte is received. Configure this directive to a slightly higher value than the KeepAlive configuration on the server.