# Quant OS public status routes. # # This snippet belongs inside the gomars.fun HTTPS server block. The release # payload is published under /srv/www/quant-os/releases// and the # /srv/www/quant-os/status symlink is switched atomically after verification. location = /quant-os { return 308 https://$host/quant-os/status/; } location = /quant-os/ { return 308 https://$host/quant-os/status/; } location = /quant-os/status { return 308 https://$host/quant-os/status/; } location = /quant-os/status/index.html { return 308 https://$host/quant-os/status/; } location ^~ /quant-os/status/ { root /srv/www; index index.html; try_files $uri $uri/ =404; add_header Cache-Control "no-cache" always; add_header X-Content-Type-Options "nosniff" always; }