auth_http

Syntax: auth_http URL; Default: — Context: mail, server Sets the URL of the HTTP authentication server. The protocol is described below.

gzip_min_length

Syntax: gzip_min_length length; Default: gzip_min_length 20; Context: http, server, location Sets the minimum length of a response that will be gzipped. The length is determined only from the “Content-Length” response header field.

scgi_busy_buffers_size

Syntax: scgi_busy_buffers_size size; Default: scgi_busy_buffers_size 8k|16k; Context: http, server, location When buffering of responses from the SCGI server is enabled, limits the total size of buffers that can be busy sending a response to the client while the response is not yet fully read. In the meantime, the rest of the buffers can be used for reading the response and, if needed, buffering part of the response to a temporary file. By default, size is limited by the size of tw

fastcgi_catch_stderr

Syntax: fastcgi_catch_stderr string; Default: — Context: http, server, location Sets a string to search for in the error stream of a response received from a FastCGI server. If the string is found then it is considered that the FastCGI server has returned an invalid response. This allows handling application errors in nginx, for example: location /php { fastcgi_pass backend:9000; ... fastcgi_catch_stderr "PHP Fatal error"; fastcgi_next_upstream error timeout inval

memcached_send_timeout

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

msie_refresh

Syntax: msie_refresh on | off; Default: msie_refresh off; Context: http, server, location Enables or disables issuing refreshes instead of redirects for MSIE clients.

set

Syntax: set $variable value; Default: — Context: server, location, if Sets a value for the specified variable. The value can contain text, variables, and their combination.

ssl

Syntax: ssl on | off; Default: ssl off; Context: mail, server Enables the SSL/TLS protocol for the given server.

Installing nginx

Installing nginx nginx can be installed differently, depending on the operating system.

proxy_cache_path

Syntax: proxy_cache_path path [levels=levels] [use_temp_path=on|off] keys_zone=name:size [inactive=time] [max_size=size] [manager_files=number] [manager_sleep=time] [manager_threshold=time] [loader_files=number] [loader_sleep=time] [loader_threshold=time] [purger=on|off] [purger_files=number] [purger_sleep=time] [purger_threshold=time]; Default: — Context: http Sets the path and other parameters of a cache. Cache data