js_access

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

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.

ssl_client_certificate

Syntax: ssl_client_certificate file; Default: — Context: http, server Specifies a file with trusted CA certificates in the PEM format used to verify client certificates and OCSP responses if ssl_stapling is enabled. The list of certificates will be sent to clients. If this is not desired, the ssl_trusted_certificate directive can be used.

sticky

Syntax: sticky cookie name [expires=time] [domain=domain] [httponly] [secure] [path=path];sticky route $variable ...;sticky learn create=$variable lookup=$variable zone=name:size [timeout=time]; Default: — Context: upstream This directive appeared in version 1.5.7. Enables session affinity, which causes requests from the same client to be passed to the same server in a group of servers. Three methods are available: cookie When

Building nginx on the Win32 platform with Visual C

Building nginx on the Win32 platform with Visual C Build steps See also

ssl_stapling_file

Syntax: ssl_stapling_file file; Default: — Context: http, server This directive appeared in version 1.3.7. When set, the stapled OCSP response will be taken from the specified file instead of querying the OCSP responder specified in the server certificate. The file should be in the DER format as produced by the “openssl ocsp” command.

proxy_intercept_errors

Syntax: proxy_intercept_errors on | off; Default: proxy_intercept_errors off; Context: http, server, location Determines whether proxied 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.

uwsgi_next_upstream_timeout

Syntax: uwsgi_next_upstream_timeout time; Default: uwsgi_next_upstream_timeout 0; Context: http, server, location This directive appeared in version 1.7.5. Limits the time during which a request can be passed to the next server. The 0 value turns off this limitation.