Syntax: | gzip_proxied
|
---|---|
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 compression for all proxied requests, ignoring other parameters;
expired
- enables compression if a response header includes the “Expires” field with a value that disables caching;
no-cache
- enables compression if a response header includes the “Cache-Control” field with the “
no-cache
” parameter; no-store
- enables compression if a response header includes the “Cache-Control” field with the “
no-store
” parameter; private
- enables compression if a response header includes the “Cache-Control” field with the “
private
” parameter; no_last_modified
- enables compression if a response header does not include the “Last-Modified” field;
no_etag
- enables compression if a response header does not include the “ETag” field;
auth
- enables compression if a request header includes the “Authorization” field;
any
- enables compression for all proxied requests.
Please login to continue.