fix(nginx): update nginx config to never return 404

main
Guus van Meerveld 11 months ago
parent 9bbb1e3ac8
commit ebe1c25b2c
Signed by: Guusvanmeerveld
GPG Key ID: 2BA7D7912771966E

@ -2,13 +2,13 @@ server {
listen 80;
server_name localhost;
location /api {
proxy_pass http://127.0.0.1:3000;
}
location / {
root /client;
index index.html;
try_files $uri $uri/ /index.html
expires 30d;
}
location /api {
proxy_pass http://127.0.0.1:3000;
}
}
Loading…
Cancel
Save