ops: Set nginx to ignore Pragma header for no-cache endpoints
This commit is contained in:
		
							parent
							
								
									82a43e25e0
								
							
						
					
					
						commit
						4070492584
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user