From 450239e0b2fe66850a9c1b76ee7b2f552ea80c2f Mon Sep 17 00:00:00 2001 From: Administrator Date: Wed, 14 Aug 2024 08:54:30 +0000 Subject: [PATCH] Update file default.conf --- default.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/default.conf b/default.conf index 8e58f9b..8860720 100644 --- a/default.conf +++ b/default.conf @@ -4,6 +4,10 @@ server { server_name localhost; #access_log /var/log/nginx/host.access.log main; + root /usr/share/nginx/html; + index index.html index.htm; + + server_name _; location / { try_files $uri $uri/ /index.html; @@ -19,4 +23,4 @@ server { } -} +} \ No newline at end of file