Files
Wizard/wizard_website/nginx.conf
T
2026-09-27 09:52:00 +02:00

18 lines
413 B
Nginx Configuration File

server {
listen 8082;
server_name _;
root /usr/share/nginx/html;
# Hashed build assets can be cached forever.
location /assets/ {
add_header Cache-Control "public, max-age=31536000, immutable";
try_files $uri =404;
}
# Single page app: always serve index.html.
location / {
add_header Cache-Control "no-cache";
try_files $uri /index.html;
}
}