Skip to content

Commit dab229e

Browse files
authored
Merge pull request #406 from theraw/patch-1
set proper timeout.
2 parents dd2e335 + affabf0 commit dab229e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docker/rootfs/etc/nginx/nginx.conf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,15 @@ http {
2626
tcp_nopush on;
2727
tcp_nodelay on;
2828
client_body_temp_path /tmp/nginx/body 1 2;
29-
keepalive_timeout 65;
29+
keepalive_timeout 90s;
30+
proxy_connect_timeout 90s;
31+
proxy_send_timeout 90s;
32+
proxy_read_timeout 90s;
3033
ssl_prefer_server_ciphers on;
3134
gzip on;
3235
proxy_ignore_client_abort off;
3336
client_max_body_size 2000m;
34-
server_names_hash_bucket_size 64;
37+
server_names_hash_bucket_size 1024;
3538
proxy_http_version 1.1;
3639
proxy_set_header X-Forwarded-Scheme $scheme;
3740
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

0 commit comments

Comments
 (0)