Welcome! Log In Create A New Profile

Advanced

auth_request and nested locations

December 10, 2012 10:36PM
Except for a few exceptions, I want to require authentication for an
entire site. The safest place would be to put the auth_request
directive at the http level but there's no way to allow the
exceptions. If I put the auth_request in locations I'll need to
repeat it multiple times and that seems less maintainable because the
chance of it getting missed when new services are added or changed. Is
there a decent way of structuring the config file for an auth portion
of a site and an un auth'd side?

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

auth_request and nested locations

djczaski December 10, 2012 10:36PM

Re: auth_request and nested locations

Maxim Dounin December 11, 2012 03:30AM

Re: auth_request and nested locations

djczaski December 11, 2012 06:54AM

Re: auth_request and nested locations

Francis Daly December 11, 2012 07:04AM

Re: auth_request and nested locations

Jonathan Matthews December 11, 2012 07:06AM

Re: auth_request and nested locations

djczaski December 11, 2012 08:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 181
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready