From 60b3b5f7f9f65646402bdb3a6cbb0e50b0115616 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Mon, 24 Jun 2024 17:42:09 +0200 Subject: [PATCH] Update nginx.conf --- nginx.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nginx.conf b/nginx.conf index ae06241..df576c5 100644 --- a/nginx.conf +++ b/nginx.conf @@ -3,14 +3,15 @@ events {} http { server { listen 80 default_server; - server_name _; - root /var/www/html; + server_name _; location / { + root /var/www/html; + index index.html; } location /img { - include /etc/nginx/mime.types; + include /etc/nginx/mime.types; alias /var/www/html/img; }