how to check for headers

amonmitch nginx-forum at nginx.us
Fri Aug 17 10:23:04 UTC 2012


Hello,

How would you check for sth like HTTP:Accept-Language? and in general all
headers? if it is equal to some value, empty or etc. Apache would allow this
to be checked in a notation similar to the following inside a mod_rewrite
config:

%{HTTP:Accept-Language} 

Is there a similar variable to be used in nginx config?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,229839,229839#msg-229839



More information about the nginx mailing list