diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 23638cca..8884458c 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -9,7 +9,7 @@ server { root /app/build/client; location / { - try_files $uri $uri/ @sveltekit; + $uri $uri/ @sveltekit; } location @sveltekit { @@ -20,7 +20,7 @@ server { proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Sendfile-Type X-Accel-Redirect; - proxy_pass http://sveltekit-server/; + proxy_pass http://sveltekit-server; proxy_redirect off; error_page 502 = @static;