diff --git a/web/vue-app/nginx.conf b/web/vue-app/nginx.conf index fafaab9..ccb8932 100644 --- a/web/vue-app/nginx.conf +++ b/web/vue-app/nginx.conf @@ -1,10 +1,12 @@ # nginx.conf -server { - listen 80; - server_name localhost; - root /usr/share/nginx/html; +http { + server { + listen 80; + server_name _; + root /usr/share/nginx/html; - location / { - try_files $uri $uri/ /index.html; - } + location / { + try_files $uri $uri/ /index.html; + } + } } \ No newline at end of file