Welcome! Log In Create A New Profile

Advanced

if command seems not working? what is wrong with me?

July 16, 2010 09:28AM
i have following config:


if ($http_user_agent ~* Opera ) {
return 444;
}



but, even if I try to access pages using Opera, Opera can open pages.
What is wrong with my config ?

(for Operat lovers: normally I do not want to block opera, just
testing something )

Thanks.

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

if command seems not working? what is wrong with me?

bvidinli July 16, 2010 09:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 219
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