Fix proxy-read-timeout is not set for HTTPS

This commit is contained in:
Yihao committed 2020-07-30 18:39:23 +09:30
1 parent 2efa8483e2
commit 9cbe771123
2 files changed
+36

No files matched your search

@@ -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;