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