mirror of
https://github.com/mempool/mempool.git
synced 2025-03-12 10:31:03 +01:00
ops: Set nginx to ignore Pragma header for no-cache endpoints
This commit is contained in:
parent
82a43e25e0
commit
4070492584
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@ location /api/v1/services/account {
|
|||
add_header 'Cache-Control' 'private, no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
|
||||
proxy_hide_header Cache-Control;
|
||||
proxy_hide_header Expires;
|
||||
proxy_hide_header Pragma;
|
||||
proxy_hide_header onion-location;
|
||||
proxy_hide_header strict-transport-security;
|
||||
proxy_hide_header content-security-policy;
|
||||
|
@ -17,6 +18,7 @@ location /api/v1/services/auth {
|
|||
add_header 'Cache-Control' 'private, no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
|
||||
proxy_hide_header Cache-Control;
|
||||
proxy_hide_header Expires;
|
||||
proxy_hide_header Pragma;
|
||||
proxy_hide_header onion-location;
|
||||
proxy_hide_header strict-transport-security;
|
||||
proxy_hide_header content-security-policy;
|
||||
|
|
Loading…
Add table
Reference in a new issue