more_set_headers with content-type "text/html" does not send header

Christian Bönning christian.boenning at gmail.com
Fri Sep 14 08:56:00 UTC 2012


Hi,

I'm using nginx (1.3.6 +spdy52) with agentzh/headers-more-nginx-module
(current master branch from git). There's a Content-Type header sent
which does contain the following: text/html; charset=utf-8

However when I add `more_set_headers -t "text/html"
"X-UA-Compatible:IE=Edge,chrome=1"` to my `server` block this header
isn't sent. In case I remove that `-t "text/html"` it's all fine
(read: header is sent). Tried with `-t "text/html; charset=utf-8"` too
without any effect.

Any ideas what might be wrong here?

Regards,
Christian



More information about the nginx mailing list