fastcgi-緩存配置

Syntax: fastcgi_ignore_headers field ...;
Default:
Context: httpserverlocation

Disables processing of certain response header fields from the FastCGI 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.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章