howto create conditional basic authentication

Paul Swielingen lists at ruby-forum.com
Sat Feb 6 01:23:47 MSK 2010


Hi all,

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

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 http://www.ruby-forum.com/.



More information about the nginx mailing list