|
|
|
@ -38,20 +38,21 @@ http { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
server { |
|
|
|
|
listen 8081; |
|
|
|
|
server_name localhost; |
|
|
|
|
listen 8081; |
|
|
|
|
server_name localhost; |
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
|
# adding ldap authentication |
|
|
|
|
auth_ldap "Closed content"; |
|
|
|
|
auth_ldap_servers ad_1; |
|
|
|
|
location / { |
|
|
|
|
# adding ldap authentication |
|
|
|
|
auth_ldap "Closed content"; |
|
|
|
|
auth_ldap_servers ad_1; |
|
|
|
|
|
|
|
|
|
root html; |
|
|
|
|
index index.html index.htm; |
|
|
|
|
root html; |
|
|
|
|
index index.html index.htm; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
error_page 500 502 503 504 /50x.html; |
|
|
|
|
location = /50x.html { |
|
|
|
|
root html; |
|
|
|
|
} |
|
|
|
|
error_page 500 502 503 504 /50x.html; |
|
|
|
|
|
|
|
|
|
location = /50x.html { |
|
|
|
|
root html; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|