I’m facing an issue using the “satisfy any” directive. What I’m trying
achieve is quite simple:
- have an auth_request directive protecting the entire website (hence
the server level in the config file)
- have no such authentication for the local network
I’ve put the following lines in my nginx config file, under the ‘server’
Although that works well for the local network (ie: no authentication
required anymore), I get a “403 Forbidden” message when I’m connecting
the outside network where I would expect the usual authentication
to be triggered.
All the exemples I found rely on the “location /” directive, but I’d
to be at the server level.
What am I doing wrong ?
Thanks for any help,
Posted at Nginx Forum: