diff --git a/example.conf b/example.conf index 01c4225..fd68e04 100644 --- a/example.conf +++ b/example.conf @@ -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; + } }