scgi_max_temp_file_size

Syntax: scgi_max_temp_file_size size;
Default: scgi_max_temp_file_size 1024m;
Context: http, server, location

When buffering of responses from the SCGI server is enabled, and the whole response does not fit into the buffers set by the scgi_buffer_size and scgi_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 scgi_temp_file_write_size directive.

The zero value disables buffering of responses to temporary files.

This restriction does not apply to responses that will be cached or stored on disk.
doc_nginx
2017-02-09 07:08:58
Comments
Leave a Comment

Please login to continue.