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.
I have a map to match my clients but somehow i can not limit the chars
within the regular expression.
What i want to archive is the following map with a general regular
expression:
map $uri $myclient {
default noclient;
~/de/? de;
~/es/? es;
~/nl/? nl;
# 1…n (always 2 chars long)
}