howto create conditional basic authentication

Paul Swielingen lists at
Sat Feb 6 01:23:47 MSK 2010

Hi all,

I have an operational NGINX server with e few dozen location {}

When a connection is made from an internal network towards the server
the client browser gets all the pages. Now I like to add external
access, but I need to require basic authentication. Can this be done
without duplication of these few dozen location {} definitions or ???

Hope anybody can help me out.
Posted via

More information about the nginx mailing list