portfolio/nginx.conf
karlm c4dc0a6566
All checks were successful
Build / build (push) Successful in 10s
Build / build (pull_request) Successful in 9s
nginx.conf aktualisiert
2026-06-29 20:38:04 +02:00

15 lines
No EOL
311 B
Nginx Configuration File

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