nginx.conf hinzugefügt
All checks were successful
Build / build (push) Successful in 12s

This commit is contained in:
karlm 2026-06-29 20:29:56 +02:00
parent 5263125c6e
commit 34557be999

16
nginx.conf Normal file
View file

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