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

**URL:** <https://www.ruby-forum.com/t/if-command-seems-not-working-what-is-wrong-with-me/191708>\
**Category:** NGINX\
**Created:** [July 16, 2010, 3:19pm UTC](https://www.ruby-forum.com/t/if-command-seems-not-working-what-is-wrong-with-me/191708 "2010-07-16T15:19:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bvidinli](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/45deac/32.png) [@bvidinli](https://www.ruby-forum.com/u/bvidinli)\
**Post date:** [July 16, 2010, 3:19pm UTC](https://www.ruby-forum.com/t/if-command-seems-not-working-what-is-wrong-with-me/191708/1 "2010-07-16T15:19:15Z")

</div>

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.
