Ignore and Hide Etags
Valentin V. Bartenev
ne at vbart.ru
Sat May 5 18:18:44 UTC 2012
On Saturday 05 May 2012 21:41:26 Justin Dorfman wrote:
> Hello All,
>
> Is there a way to ignore and hide etag headers?
>
> I know how to ignore and hide set-cookie headers:
>
> proxy_ignore_headers Set-Cookie;
> proxy_hide_header Set-Cookie;
>
> But when I try replacing Set-Cookie; with ETag; I get:
>
> nginx: [warn] invalid value "ETag" in /usr/local/nginx/conf/vhosts/
> domain.com:16
>
> Thanks in advance.
>
Please, take a look at the docs: http://nginx.org/r/proxy_ignore_headers
The ETag header doesn't have any special processing, so there's nothing
to ignore.
wbr, Valentin V. Bartenev
More information about the nginx
mailing list