/analyses/sda-2026-04-01-001.html etc.) that return HTTP 404.location /analyses/ block uses alias /home/ubuntu/scidex/site/analyses/ combined with try_files $uri @backend. The alias directive with try_files $uri doesn't work correctly - nginx looks for the wrong file path. When the static file isn't found, it falls back to FastAPI which serves the file correctly.alias /home/ubuntu/scidex/site/analyses/; to root /home/ubuntu/scidex/site; in the nginx location block/etc/nginx/conf.d/scidex.conf uses alias + try_files incorrectly for /analyses/ locationalias /home/ubuntu/scidex/site/analyses/ with try_files $uri causes nginx to look for wrong pathalias to root directiveThe following must be done manually or by an operator with sudo privileges:
asta-proxy.conf - This file proxies to an offline ngrok tunnel (enterable-bounceably-fidela.ngrok-free.dev) and is being used as the default server for HTTPS port 443, causing all unmatched HTTPS requests to return 404.sudo mv /etc/nginx/conf.d/asta-proxy.conf /etc/nginx/conf.d/asta-proxy.conf.disabled
sudo nginx -s reloadscidex.conf is the default server - After disabling asta-proxy, verify that scidex.conf handles all HTTPS requests correctly.nginx-scidex.conf: Changed alias /home/ubuntu/scidex/site/analyses/; to root /home/ubuntu/scidex/site; in the /analyses/ location block. Also fixed /notebooks/ location similarly. This fixes the incorrect use of alias with try_files $uri which doesn't resolve file paths correctly.Host: scidex.ai header:200 /analyses/sda-2026-04-01-001.html
200 /analyses/sda-2026-04-01-002.html
200 /analyses/sda-2026-04-01-003.html
200 /analyses/sda-2026-04-01-gap-001.html
200 /analyses/sda-2026-04-01-gap-004.html
200 /analyses/sda-2026-04-01-gap-005.html
200 /analyses/sda-2026-04-01-gap-006.html
200 /analyses/sda-2026-04-01-gap-007.htmlWithout proper Host header, requests go to asta-proxy.conf (offline ngrok tunnel) and return 404 — this is a deployment issue requiring manual intervention (see above).
Committed as 9acc8fd27.