scgi_next_upstream_tries

Syntax: scgi_next_upstream_tries number; Default: scgi_next_upstream_tries 0; Context: http, server, location This directive appeared in version 1.7.5. Limits the number of possible tries for passing a request to the next server. The 0 value turns off this limitation.

scgi_connect_timeout

Syntax: scgi_connect_timeout time; Default: scgi_connect_timeout 60s; Context: http, server, location Defines a timeout for establishing a connection with an SCGI server. It should be noted that this timeout cannot usually exceed 75 seconds.

proxy_responses

Syntax: proxy_responses number; Default: — Context: stream, server This directive appeared in version 1.9.13. Sets the number of datagrams expected from the proxied server in response to the client request if the UDP protocol is used. By default, the number of datagrams is not limited: the response datagrams will be sent until the proxy_timeout value expires.

postpone_output

Syntax: postpone_output size; Default: postpone_output 1460; Context: http, server, location If possible, the transmission of client data will be postponed until nginx has at least size bytes of data to send. The zero value disables postponing data transmission.

scgi_send_timeout

Syntax: scgi_send_timeout time; Default: scgi_send_timeout 60s; Context: http, server, location Sets a timeout for transmitting a request to the SCGI server. The timeout is set only between two successive write operations, not for the transmission of the whole request. If the SCGI server does not receive anything within this time, the connection is closed.

set_real_ip_from

Syntax: set_real_ip_from address | CIDR | unix:; Default: — Context: stream, server Defines trusted addresses that are known to send correct replacement addresses. If the special value unix: is specified, all UNIX-domain sockets will be trusted.

worker_aio_requests

Syntax: worker_aio_requests number; Default: worker_aio_requests 32; Context: events This directive appeared in versions 1.1.4 and 1.0.7. When using aio with the epoll connection processing method, sets the maximum number of outstanding asynchronous I/O operations for a single worker process.

ssl_session_timeout

Syntax: ssl_session_timeout time; Default: ssl_session_timeout 5m; Context: stream, server Specifies a time during which a client may reuse the session parameters.

ssl_certificate_key

Syntax: ssl_certificate_key file; Default: — Context: stream, server Specifies a file with the secret key in the PEM format for the given server. The value engine:name:id can be specified instead of the file, which loads a secret key with a specified id from the OpenSSL engine name.

uwsgi_intercept_errors

Syntax: uwsgi_intercept_errors on | off; Default: uwsgi_intercept_errors off; Context: http, server, location Determines whether a uwsgi server responses with codes greater than or equal to 300 should be passed to a client or be intercepted and redirected to nginx for processing with the error_page directive.