ops: Set cache time for /api/v1 endpoints to 2 sec
This commit is contained in:
		
							parent
							
								
									d0e7ae973a
								
							
						
					
					
						commit
						0ea410ef5d
					
				@ -97,10 +97,10 @@ location @mempool-api-v1-cache-normal {
 | 
			
		||||
	proxy_set_header X-Forwarded-Proto $scheme;
 | 
			
		||||
 | 
			
		||||
	proxy_cache api;
 | 
			
		||||
	proxy_cache_valid 200 10s;
 | 
			
		||||
	proxy_cache_valid 200 2s;
 | 
			
		||||
	proxy_redirect off;
 | 
			
		||||
 | 
			
		||||
	expires 10s;
 | 
			
		||||
	expires 2s;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
location @mempool-api-v1-cache-disabled {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user