add_header not allowed in server if blocks?

steveh nginx-forum at
Tue Jun 15 05:58:57 MSD 2010

Thanks for that, helps a lot.

My initial test which made me think it was working, when it wasn't, seems to be due chrome frame some how caching the result of headers. So if you load a page once which triggers chrome mode due to the correct header in place, if you remove said header and reload it still loads in chrome frame. Will be down to how refresh works I expect. You live and learn :)

Thanks again.

Posted at Nginx Forum:,98202,98239#msg-98239

More information about the nginx mailing list