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:
@@ -40,6 +40,7 @@ location /pgadmin {
|
||||
}
|
||||
|
||||
location / {
|
||||
${ONION_LOCATION_HEADER}
|
||||
add_header Referrer-Policy "no-referrer" always;
|
||||
add_header Cache-Control "no-store" always;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user