Forráskód Böngészése

[docker] Adding example of NGINX timeout setting

Romain Rigaux 4 éve
szülő
commit
9e6e1dc5e6
1 módosított fájl, 8 hozzáadás és 4 törlés
  1. 8 4
      tools/docker/nginx/nginx.conf

+ 8 - 4
tools/docker/nginx/nginx.conf

@@ -18,6 +18,10 @@ http {
 	tcp_nodelay on;
 	keepalive_timeout 65;
 	types_hash_max_size 2048;
+	# proxy_connect_timeout 60;
+	# proxy_send_timeout 60;
+	# proxy_read_timeout 60;  # Usually hit when RPCs to DWs are slow
+	# send_timeout 60;
 	# server_tokens off;
 
 	# server_names_hash_bucket_size 64;
@@ -60,7 +64,7 @@ http {
 	##
 	# Uncomment it if you installed nginx-passenger
 	##
-	
+
 	#passenger_root /usr;
 	#passenger_ruby /usr/bin/ruby;
 
@@ -76,17 +80,17 @@ http {
 #mail {
 #	# See sample authentication script at:
 #	# http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
-# 
+#
 #	# auth_http localhost/auth.php;
 #	# pop3_capabilities "TOP" "USER";
 #	# imap_capabilities "IMAP4rev1" "UIDPLUS";
-# 
+#
 #	server {
 #		listen     localhost:110;
 #		protocol   pop3;
 #		proxy      on;
 #	}
-# 
+#
 #	server {
 #		listen     localhost:143;
 #		protocol   imap;