hls_mp4_max_buffer_size

Syntax: hls_mp4_max_buffer_size size; Default: hls_mp4_max_buffer_size 10m; Context: http, server, location During metadata processing, a larger buffer may become necessary. Its size cannot exceed the specified size, or else nginx will return the server error 500 (Internal Server Error), and log the following message: "/some/movie/file.mp4" mp4 moov atom is too large: 12583268, you may want to increase hls_mp4_max_buffer_size

scgi_ignore_client_abort

Syntax: scgi_ignore_client_abort on | off; Default: scgi_ignore_client_abort off; Context: http, server, location Determines whether the connection with an SCGI server should be closed when a client closes the connection without waiting for a response.

scgi_hide_header

Syntax: scgi_hide_header field; Default: — Context: http, server, location By default, nginx does not pass the header fields “Status” and “X-Accel-...” from the response of an SCGI server to a client. The scgi_hide_header directive sets additional fields that will not be passed. If, on the contrary, the passing of fields needs to be permitted, the scgi_pass_header directive can be used.

if

Syntax: if (condition) { ... } Default: — Context: server, location The specified condition is evaluated. If true, this module directives specified inside the braces are executed, and the request is assigned the configuration inside the if directive. Configurations inside the if directives are inherited from the previous configuration level. A condition may be any of the following: a variable name; false if the value of a variable is an empty string or “0”; Before version 1.0.

fastcgi_max_temp_file_size

Syntax: fastcgi_max_temp_file_size size; Default: fastcgi_max_temp_file_size 1024m; Context: http, server, location When buffering of responses from the FastCGI server is enabled, and the whole response does not fit into the buffers set by the fastcgi_buffer_size and fastcgi_buffers directives, a part of the response can be saved to a temporary file. This directive sets the maximum size of the temporary file. The size of data written to the temporary file at a time is set by the fa

image_filter_transparency

Syntax: image_filter_transparency on|off; Default: image_filter_transparency on; Context: http, server, location Defines whether transparency should be preserved when transforming GIF images or PNG images with colors specified by a palette. The loss of transparency results in images of a better quality. The alpha channel transparency in PNG is always preserved.

autoindex

Syntax: autoindex on | off; Default: autoindex off; Context: http, server, location Enables or disables the directory listing output.

proxy_protocol_timeout

Syntax: proxy_protocol_timeout timeout; Default: proxy_protocol_timeout 30s; Context: stream, server This directive appeared in version 1.11.4. Specifies a timeout for reading the PROXY protocol header to complete. If no entire header is transmitted within this time, the connection is closed.

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

gzip_proxied

Syntax: gzip_proxied off | expired | no-cache | no-store | private | no_last_modified | no_etag | auth | any ...; Default: gzip_proxied off; Context: http, server, location Enables or disables gzipping of responses for proxied requests depending on the request and response. The fact that the request is proxied is determined by the presence of the “Via” request header field. The directive accepts multiple parameters: off disables compressio