AW: LDAP Auth only for external addresses

Matthias Sidler Matthias.Sidler at gibb.ch
Wed Sep 11 07:20:58 UTC 2013


Thanks alot!

That works for me:

[...]
    location / {
        satisfy any;

        auth_ldap "Forbidden";
        auth_ldap_servers myldap;

        auth_basic "Forbidden";

        allow 10.0.0.0/8;
        allow 172.0.0.0/8;
        deny all;  
    }
[...]

---
Mat



More information about the nginx mailing list