Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: Proxy Bypass only specific IP
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
TheBritishGeek
June 24, 2014 06:38AM
Registered: 9 years ago
Posts: 5
I have tried
if ($remote_addr ~ "^(1.1.1.1|a:b:c:d::1:2)$")
{
proxy_cache_bypass $http_secret_header;
}
But is does not pass testing
nginx: [emerg] "proxy_cache_bypass" directive is not allowed here
Reply
Quote
RSS
Subject
Author
Posted
Proxy Bypass only specific IP
TheBritishGeek
June 24, 2014 12:43AM
Re: Proxy Bypass only specific IP
itpp2012
June 24, 2014 02:17AM
Re: Proxy Bypass only specific IP
TheBritishGeek
June 24, 2014 06:38AM
Re: Proxy Bypass only specific IP
Maxim Dounin
June 24, 2014 10:24AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 153
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018