mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 18:29:21 +00:00 
			
		
		
		
	Optimized nginx-proxy
This commit is contained in:
		| @@ -11,7 +11,7 @@ location / | ||||
|   proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto; | ||||
|  | ||||
|   # timeouts | ||||
|   proxy_connect_timeout       300s; | ||||
|   proxy_connect_timeout       1s; | ||||
|   proxy_send_timeout          300s; | ||||
|   proxy_read_timeout          300s; | ||||
|   send_timeout                300s; | ||||
| @@ -22,8 +22,8 @@ location / | ||||
|   proxy_cache_revalidate        on; | ||||
|   proxy_cache_min_uses          1; | ||||
|   proxy_cache_use_stale         error timeout updating http_500 http_502 http_503 http_504; | ||||
|   proxy_cache_background_update on; | ||||
|   proxy_cache_lock              on; | ||||
|   proxy_cache_background_update on; | ||||
|   proxy_cache_valid             any 5m; | ||||
|   expires                       5m; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user