Merge pull request #12068 from ninjadq/add_timeout_in_nginx_config_1_10_0

Add timount on nginx configs
This commit is contained in:
stonezdj(Daojun Zhang) 2020-05-27 16:57:39 +08:00 committed by GitHub
commit aae70811f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -112,6 +112,9 @@ http {
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off; proxy_buffering off;
proxy_request_buffering off; proxy_request_buffering off;
proxy_send_timeout 900;
proxy_read_timeout 900;
} }
location /service/ { location /service/ {

View File

@ -138,6 +138,8 @@ http {
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off; proxy_buffering off;
proxy_request_buffering off; proxy_request_buffering off;
proxy_send_timeout 900;
proxy_read_timeout 900;
} }
location /service/ { location /service/ {