ops: Tweak proxy_cache_valid time for unfurler/slurper cache
This commit is contained in:
		
							parent
							
								
									9d978ead6d
								
							
						
					
					
						commit
						8e73e76312
					
				@ -136,7 +136,7 @@ location @mempool-space-unfurler {
 | 
				
			|||||||
	proxy_cache_background_update on;
 | 
						proxy_cache_background_update on;
 | 
				
			||||||
	proxy_cache_use_stale updating;
 | 
						proxy_cache_use_stale updating;
 | 
				
			||||||
	proxy_cache unfurler;
 | 
						proxy_cache unfurler;
 | 
				
			||||||
	proxy_cache_valid 200 30d;
 | 
						proxy_cache_valid 200 1h; # will re-render page if older than this
 | 
				
			||||||
	proxy_redirect off;
 | 
						proxy_redirect off;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	expires 1d;
 | 
						expires 1d;
 | 
				
			||||||
@ -153,7 +153,7 @@ location @mempool-space-slurper {
 | 
				
			|||||||
	proxy_cache_background_update on;
 | 
						proxy_cache_background_update on;
 | 
				
			||||||
	proxy_cache_use_stale updating;
 | 
						proxy_cache_use_stale updating;
 | 
				
			||||||
	proxy_cache slurper;
 | 
						proxy_cache slurper;
 | 
				
			||||||
	proxy_cache_valid 200 365d;
 | 
						proxy_cache_valid 200 1h; # will re-render page if older than this
 | 
				
			||||||
	proxy_redirect off;
 | 
						proxy_redirect off;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	expires 10d;
 | 
						expires 10d;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user