Nginx - Match Client Language

Maxim Dounin mdounin at mdounin.ru
Thu Apr 1 00:28:11 MSD 2010


Hello!

On Wed, Mar 31, 2010 at 01:22:56PM -0700, Payam Chychi wrote:

> Hi Guys,
> 
> Anyone know what variable to search for and match against
> User/Client Browser Language?
> Say i want to drop everyone that has browser lang set to US or something.
> 
> Thanks in advance, i should be able to figure this out but i cant
> recall which $var holds this data... did not work with user-agent
> obviously heh

http://tools.ietf.org/html/rfc2616#section-14.4
http://wiki.nginx.org/NginxHttpCoreModule#.24http_HEADER

Maxim Dounin



More information about the nginx mailing list