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

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.

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