Nginx - Match Client Language

Payam Chychi pchychi at gmail.com
Thu Apr 1 00:32:40 MSD 2010


Maxim Dounin wrote:
> 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
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>   

As always, you are awesome! thanks Maxim

-Payam




More information about the nginx mailing list