Fix Onion-Location on SPA responses behind nginx add_header.

Render the header inside location / so it is not dropped by other location headers; remove the ineffective server-level directive.
This commit is contained in:
2026-10-28 23:12:08 +01:00
parent b97fcc2b20
commit adb1d7bca9
3 changed files with 6 additions and 11 deletions
@@ -40,6 +40,7 @@ location /pgadmin {
}
location / {
${ONION_LOCATION_HEADER}
add_header Referrer-Policy "no-referrer" always;
add_header Cache-Control "no-store" always;