Access restriction only for people outside LAN

Kamil Gorlo kgs4242 at gmail.com
Mon Sep 28 13:06:04 MSD 2009


Hi all,

I have a service which should be protected using Basic Authentication,
but this authentication should be enabled only for people who connect
to my service from "the outside of my LAN". Other people (inside LAN)
should not have any authentication.

Is this possible? How to do that? I couldn't figure out how to use
combination of allow/deny with basic authentication for certain
location (maybe this is wrong way...).

Cheers,
Kamil





More information about the nginx mailing list