fix: serve canonical status index directly

This commit is contained in:
2026-07-30 23:15:40 +08:00
parent fe1442c2f2
commit 9cb1daea1a
3 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ location = /quant-os/status/index.html {
}
location = /quant-os/status/ {
alias /srv/www/quant-os/status/index.html;
root /srv/www;
rewrite ^ /quant-os/status/index.html break;
default_type text/html;
add_header Cache-Control "no-cache" always;
add_header X-Content-Type-Options "nosniff" always;