Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - Russian
> Topic
Advanced
Re: блокировка по user-agent + Referer
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
che4
November 17, 2010 11:09AM
Registered: 13 years ago
Posts: 2
hg_04 Wrote:
-------------------------------------------------------
> > if ($http_user_agent ~ Macintosh) {
> if ($http_referer ~* "domain\.com|domain\.net")
> {
> return 503;
> }
> }
>
"if" directive is not allowed here
к сожалению не работает ругается на строку
if ($http_referer ~* "domain\.com|domain\.net")
Reply
Quote
RSS
Subject
Author
Posted
блокировка по user-agent + Referer
che4
November 17, 2010 09:53AM
Re: блокировка по user-agent + Referer
hg_04
November 17, 2010 11:02AM
Re: блокировка по user-agent + Referer
hg_04
November 17, 2010 11:03AM
Re: блокировка по user-agent + Referer
che4
November 17, 2010 11:09AM
Re: блокировка по user-agent + Referer
Sergey Shepelev
November 17, 2010 11:12AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 103
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024