Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
anyone can help me to combine these 2 lines?
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
kamanwu
May 16, 2010 04:40PM
Registered: 13 years ago
Posts: 3
I just want to set.......if $http_user_agent equals AAA or BBB or empty ("").....then return 400...Thanks.......
if ($http_user_agent ~ (AAA|BBB)) {return 400;}
if ($http_user_agent = "") {return 400;}
Reply
Quote
RSS
Subject
Author
Posted
anyone can help me to combine these 2 lines?
kamanwu
May 16, 2010 04:40PM
Re: anyone can help me to combine these 2 lines?
Joshua Jonah
May 16, 2010 05:42PM
Re: anyone can help me to combine these 2 lines?
kamanwu
May 16, 2010 06:15PM
Re: anyone can help me to combine these 2 lines?
kamanwu
May 16, 2010 06:23PM
Re: anyone can help me to combine these 2 lines?
Joshua Jonah
May 16, 2010 06:28PM
Re: anyone can help me to combine these 2 lines?
Joshua Jonah
May 16, 2010 06:36PM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 260
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018