nkbmusic/server/nginx/admin.conf
metatroncubeswdev d368880601 Add NK Admin web container on 127.0.0.1:18080 with placeholder page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:51:14 -04:00

20 lines
561 B
Plaintext

# NK Admin: a single-page web app. Unknown paths load index.html so deep links work.
server {
listen 80;
root /usr/share/nginx/html;
location / {
try_files $uri $uri/ /index.html;
add_header Cache-Control "no-cache";
}
# Built files have content hashes or change rarely; cache them.
location ~* \.(js|wasm|css|png|jpg|svg|ttf|otf|woff2?)$ {
expires 7d;
}
add_header X-Frame-Options DENY always;
add_header X-Content-Type-Options nosniff always;
add_header Referrer-Policy same-origin always;
}