proxy_ssl_protocols

Syntax: proxy_ssl_protocols [SSLv2] [SSLv3] [TLSv1] [TLSv1.1] [TLSv1.2]; Default: proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2; Context: stream, server Enables the specified protocols for connections to a proxied server.

health_check_timeout

Syntax: health_check_timeout timeout; Default: health_check_timeout 5s; Context: stream, server Overrides the proxy_timeout value for health checks. This directive is available as part of our commercial subscription.

ssi_types

Syntax: ssi_types mime-type ...; Default: ssi_types text/html; Context: http, server, location Enables processing of SSI commands in responses with the specified MIME types in addition to “text/html”. The special value “*” matches any MIME type (0.8.29).

js_preread

Syntax: js_preread function; Default: — Context: stream, server Sets an nginScript function which will be called at the preread phase.

js_access

Syntax: js_access function; Default: — Context: stream, server Sets an nginScript function which will be called at the access phase.

geoip_country

Syntax: geoip_country file; Default: — Context: stream Specifies a database used to determine the country depending on the client IP address. The following variables are available when using this database: $geoip_country_code two-letter country code, for example, “RU”, “US”. $geoip_country_code3 three-letter country code, for example, “RUS”, “USA”. $geoip_country_name country name, for example, “Russian Federation”, “United States”.

resolver_timeout

Syntax: resolver_timeout time; Default: resolver_timeout 30s; Context: stream, server This directive appeared in version 1.11.3. Sets a timeout for name resolution, for example: resolver_timeout 5s; Before version 1.11.3, this directive was available as part of our commercial subscription.

log_format

Syntax: log_format name [escape=default|json] string ...; Default: — Context: stream Specifies the log format, for example: log_format proxy '$remote_addr [$time_local] ' '$protocol $status $bytes_sent $bytes_received ' '$session_time "$upstream_addr" ' '"$upstream_bytes_sent" "$upstream_bytes_received" "$upstream_connect_time"'; The escape parameter (1.11.8) allows setting json or default characters escaping in va

uwsgi_send_timeout

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

etag

Syntax: etag on | off; Default: etag on; Context: http, server, location This directive appeared in version 1.3.3. Enables or disables automatic generation of the “ETag” response header field for static resources.