diff --git a/.volumes/nginx/conf/conf.d/default.conf b/.volumes/nginx/conf/conf.d/default.conf index 60fb704..d26be5c 100644 --- a/.volumes/nginx/conf/conf.d/default.conf +++ b/.volumes/nginx/conf/conf.d/default.conf @@ -5,19 +5,13 @@ server { #access_log /var/log/nginx/host.access.log main; - root /usr/share/nginx/public; - location / { + root /usr/share/nginx/public; index index.html; ssi on; try_files $uri $uri/ $uri.html =404; } - # location /includes/ { - # deny all; - # return 404; - # } - error_page 404 /404.html; location = /404.html { root /usr/share/nginx/public;