Files
2026-05-12 05:12:30 +02:00

16 lines
313 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 ~* \.(jpg|jpeg|png|gif|ico|svg|webp|css|js|woff2?)$ {
expires 1y;
add_header Cache-Control "public, immutable";
}
}