Welcome! Log In Create A New Profile

Advanced

browser module

andre wang
April 12, 2010 04:44AM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

browser module

andre wang April 12, 2010 04:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 283
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready