From 44fa02ba16c3ea8fec5adde605c47b9b2efac681 Mon Sep 17 00:00:00 2001 From: Bob Vandevliet Date: Fri, 21 Jun 2024 17:52:29 +0200 Subject: [PATCH] Cleaned up nginx conf. --- .volumes/nginx/conf/conf.d/default.conf | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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;