Files
cardy/docker/nginx-spa.conf
T
2026-10-08 11:03:52 +03:00

15 lines
291 B
Plaintext

server {
listen 10001;
root /usr/share/nginx/html;
index index.html;
location /assets/ {
add_header Cache-Control "public, max-age=31536000, immutable";
}
location / {
add_header Cache-Control "no-cache";
try_files $uri /index.html;
}
}