Fix proxy-read-timeout is not set for HTTPS

This commit is contained in:
Yihao
2020-07-30 18:36:10 +09:30
parent 2efa8483e2
commit 9cbe771123
2 changed files with 36 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ server {
proxy_pass http://{{ $.APP }}-{{ $upstream_port }};
{{ if eq $.HTTP2_PUSH_SUPPORTED "true" }}http2_push_preload on; {{ end }}
proxy_http_version 1.1;
proxy_read_timeout {{ $.PROXY_READ_TIMEOUT }};
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_set_header Host $http_host;