mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	Fix nginx cache (#8558)
This commit is contained in:
		
							parent
							
								
									d0036b2f77
								
							
						
					
					
						commit
						aa93d4fbdd
					
				@ -34,7 +34,7 @@ http {
 | 
			
		||||
 | 
			
		||||
    proxy_cache_path /dev/shm/nginx_cache levels=1:2 keys_zone=api_cache:10m max_size=10m inactive=1m use_temp_path=off;
 | 
			
		||||
 | 
			
		||||
    map $http_accept $should_not_cache {
 | 
			
		||||
    map $sent_http_content_type $should_not_cache {
 | 
			
		||||
        'application/json' 0;
 | 
			
		||||
        default 1;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user