Browser module

greetings

i have an issue with browser module of nginx. i have set a list of
ancient_browsers in browser.conf :
ancient_browser “GoBrowser” “MIDP” “WAP” “UP.Browser” “Obigo”
“Mobile”;

and configed one virutalhost :
location / {
if ($ancient_browser) { proxy_pass http://first; }
proxy_pass http://second;
}

but when i include the browser.conf in the http context, the access to
the virtual host of matched agent
still proxyed to first, the debug log said it’s a match. so i try to
include the browser.conf in the location,
then it works, so is this a bug or am i configing wrong?

andre.ease
2010.4.12

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