Firstly I’m a newbie on both mailing lists AND nginx so please be nice
to me
I use nginx as a reverse proxy and it works flawlessly.
But now I want to put basic authentication on certain ip addresses.
IE.
If I come from 10.0.0.0/24 network it should go through as usual.
But if I come from 10.100.0.0/24 it should have basic authentication.
Is there any way to accomplish this?
I use Apache as a backend webserver.
Br
Patric
PS English is NOT my native language so sorry for any misspellings…
On Thu, Jul 22, 2010 at 12:08:16PM +0200, Slask Sklask wrote:
Firstly I’m a newbie on both mailing lists AND nginx so please be nice to me
I use nginx as a reverse proxy and it works flawlessly.
But now I want to put basic authentication on certain ip addresses.
IE.
If I come from 10.0.0.0/24 network it should go through as usual.
But if I come from 10.100.0.0/24 it should have basic authentication.
Is there any way to accomplish this?