diff --git a/frontend/nginx.conf b/frontend/nginx.conf index d0bd5b6..d4f6f96 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -1,7 +1,9 @@ -server { - listen 80; - root /data/www; - location / { - try_files $uri $uri/ /index.html; +http { + server { + listen 80; + root /data/www; + location / { + try_files $uri $uri/ /index.html; + } } } \ No newline at end of file