js_filter

Syntax: js_filter function; Default: — Context: stream, server Sets a data filter.

js_content

Syntax: js_content function; Default: — Context: location, limit_except Sets an nginScript function as a location content handler.

js_access

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

ip_hash

Syntax: ip_hash; Default: — Context: upstream Specifies that a group should use a load balancing method where requests are distributed between servers based on client IP addresses. The first three octets of the client IPv4 address, or the entire IPv6 address, are used as a hashing key. The method ensures that requests from the same client will always be passed to the same server except when this server is unavailable. In the latter case client requests will be passed to another ser

internal

Syntax: internal; Default: — Context: location Specifies that a given location can only be used for internal requests. For external requests, the client error 404 (Not Found) is returned. Internal requests are the following: requests redirected by the error_page, index, random_index, and try_files directives; requests redirected by the “X-Accel-Redirect” response header field from an upstream server; subrequests formed by the “include virtual” command of the ngx_http_ssi_modu

Installing nginx

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

index

Syntax: index file ...; Default: index index.html; Context: http, server, location Defines files that will be used as an index. The file name can contain variables. Files are checked in the specified order. The last element of the list can be a file with an absolute path. Example: index index.$geo.html index.0.html /index.html; It should be noted that using an index file causes an internal redirect, and the request can be processed in a different location. For example, with the

include

Syntax: include file | mask; Default: — Context: any Includes another file, or files matching the specified mask, into configuration. Included files should consist of syntactically correct directives and blocks. Usage example: include mime.types; include vhosts/*.conf;

imap_client_buffer

Syntax: imap_client_buffer size; Default: imap_client_buffer 4k|8k; Context: mail, server Sets the IMAP commands read buffer size. By default, the buffer size is equal to one memory page. This is either 4K or 8K, depending on a platform.

imap_capabilities

Syntax: imap_capabilities extension ...; Default: imap_capabilities IMAP4 IMAP4rev1 UIDPLUS; Context: mail, server Sets the IMAP protocol extensions list that is passed to the client in response to the CAPABILITY command. The authentication methods specified in the imap_auth and STARTTLS directives are automatically added to this list if the starttls directive is enabled. It makes sense to specify the extensions supported by the IMAP backends to which the clients are proxied (if