mirror of
https://github.com/mainnika/nginx-auth-ldap.git
synced 2026-07-03 20:22:33 +00:00
replacing tabs with spaces to fix example.conf formating
This commit is contained in:
+13
-12
@@ -38,20 +38,21 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 8081;
|
listen 8081;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# adding ldap authentication
|
# adding ldap authentication
|
||||||
auth_ldap "Closed content";
|
auth_ldap "Closed content";
|
||||||
auth_ldap_servers ad_1;
|
auth_ldap_servers ad_1;
|
||||||
|
|
||||||
root html;
|
root html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
}
|
}
|
||||||
|
|
||||||
error_page 500 502 503 504 /50x.html;
|
error_page 500 502 503 504 /50x.html;
|
||||||
location = /50x.html {
|
|
||||||
root html;
|
location = /50x.html {
|
||||||
}
|
root html;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user