allow access to certain client addresses or use auth_basic

Francis Daly francis at daoine.org
Mon Mar 30 19:21:02 UTC 2015


On Mon, Mar 30, 2015 at 10:45:49AM +0200, basti wrote:

Hi there,

> is there a way to do following in nginx server or location config.
> 
> 1. allow access to certain client addresses
> 2. if the ip is not in the list, allow access by ngx_http_auth_basic_module

Yes.

http://nginx.org/r/satisfy

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list