LemonLDAP::NG Web SSO
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
lemonldap-ng/_example/etc/handler-nginx.conf

34 lines
977 B

#====================================================================
# Nginx configuration for LemonLDAP::NG Handler
#====================================================================
# Load LemonLDAP::NG Handler
perl_require Lemonldap/NG/Handler.pm;
# Common error page and security parameters
error_page 500 http://auth.__DNSDOMAIN__/?lmError=500;
error_page 503 http://auth.__DNSDOMAIN__/?lmError=503;
server {
listen __VHOSTLISTEN__;
server_name reload.__DNSDOMAIN__;
# Configuration reload mechanism (only 1 per physical server is
# needed): choose your URL to avoid reloading Nginx when
# configuration change
location /reload {
allow 127.0.0.0/8;
allow ::1;
deny all;
perl Lemonldap::NG::Handler::reload;
}
# Uncomment this to activate status module
#location /status {
# allow 127.0.0.0/8;
# allow ::1;
# deny all;
# perl Lemonldap::NG::Handler::status;
#}
}