interactives/nginx.conf
Neeldhara Misra 3d31dc1b55
Some checks are pending
CI / verify (push) Waiting to run
Add Forgejo CI and Dokploy deployment
2026-07-20 14:22:11 +05:30

22 lines
454 B
Nginx Configuration File

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