nginx.conf aktualisiert
All checks were successful
Build / build (push) Successful in 11s

This commit is contained in:
karlm 2026-06-29 20:33:27 +02:00
parent 34557be999
commit 7caa00e46b

View file

@ -1,14 +1,13 @@
server { server {
listen 80; listen 80;
server_name _; server_name _;
root /usr/share/nginx/html; root /app/dist;
index index.html; index index.html;
location / { location / {
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html;
} }
# Optional: cache static assets
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2)$ { location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2)$ {
expires 1y; expires 1y;
add_header Cache-Control "public, immutable"; add_header Cache-Control "public, immutable";