Nginx - Match Client Language

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

Thanks
Payam

Maxim D. wrote:


nginx mailing list
[email protected]
http://nginx.org/mailman/listinfo/nginx

As always, you are awesome! thanks Maxim

-Payam

Hello!

On Wed, Mar 31, 2010 at 01:22:56PM -0700, Payam C. 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 D.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs