upstream_conf

Syntax: upstream_conf; Default: — Context: location Turns on the HTTP interface of upstream configuration in the surrounding location. Access to this location should be limited. Configuration commands can be used to: view the group configuration; view, modify, or remove a server; add a new server. Since addresses in a group are not required to be unique, specific servers in a group are referenced by their IDs. IDs are assigned automatically and shown when adding a new server

fastcgi_force_ranges

Syntax: fastcgi_force_ranges on | off; Default: fastcgi_force_ranges off; Context: http, server, location This directive appeared in version 1.7.7. Enables byte-range support for both cached and uncached responses from the FastCGI server regardless of the “Accept-Ranges” field in these responses.

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

Installing nginx

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

ssl

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

uwsgi_cache_lock_age

Syntax: uwsgi_cache_lock_age time; Default: uwsgi_cache_lock_age 5s; Context: http, server, location This directive appeared in version 1.7.8. If the last request passed to the uwsgi server for populating a new cache element has not completed for the specified time, one more request may be passed to the uwsgi server.

ssl

Syntax: ssl on | off; Default: ssl off; Context: http, server Enables the HTTPS protocol for the given virtual server. It is recommended to use the ssl parameter of the listen directive instead of this directive.

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.

stream

Syntax: stream { ... } Default: — Context: main Provides the configuration file context in which the stream server directives are specified.

scgi_cache_max_range_offset

Syntax: scgi_cache_max_range_offset number; Default: — Context: http, server, location This directive appeared in version 1.11.6. Sets an offset in bytes for byte-range requests. If the range is beyond the offset, the range request will be passed to the SCGI server and the response will not be cached.