Ignore and Hide Etags

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.

Regards,

Justin D. http://www.twitter.com/jdorfman

NetDNA http://www.netdna.com
The Science of Acceleration

On Saturday 05 May 2012 21:41:26 Justin D. wrote:

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