Add SPA routing fix and nginx config for Coolify deployment

This commit is contained in:
2026-04-30 16:16:40 +02:00
parent 75beb3607e
commit b08e3d2c19
2 changed files with 14 additions and 0 deletions

13
nginx.conf Normal file
View File

@@ -0,0 +1,13 @@
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
gzip on;
gzip_types text/plain text/css application/javascript application/json image/svg+xml;
gzip_min_length 1000;
}