diff --git a/nginx.conf b/nginx.conf index a7eccb1e..8c5039a7 100644 --- a/nginx.conf +++ b/nginx.conf @@ -47,10 +47,10 @@ http { } location / { - proxy_pass http://frontend:80; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + root /usr/share/nginx/html; + index index.html; + + try_files $uri /index.html; } } }