scgi_ignore_headers

Syntax: scgi_ignore_headers field ...;
Default:
Context: http, server, location

Disables processing of certain response header fields from the SCGI server. The following fields can be ignored: “X-Accel-Redirect”, “X-Accel-Expires”, “X-Accel-Limit-Rate” (1.1.6), “X-Accel-Buffering” (1.1.6), “X-Accel-Charset” (1.1.6), “Expires”, “Cache-Control”, “Set-Cookie” (0.8.44), and “Vary” (1.7.7).

If not disabled, processing of these header fields has the following effect:

  • “X-Accel-Expires”, “Expires”, “Cache-Control”, “Set-Cookie”, and “Vary” set the parameters of response caching;
  • “X-Accel-Redirect” performs an internal redirect to the specified URI;
  • “X-Accel-Limit-Rate” sets the rate limit for transmission of a response to a client;
  • “X-Accel-Buffering” enables or disables buffering of a response;
  • “X-Accel-Charset” sets the desired charset of a response.
doc_nginx
2017-02-09 07:08:57
Comments
Leave a Comment

Please login to continue.