diff options
author | crupest <crupest@outlook.com> | 2022-11-20 16:56:53 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-20 16:56:53 +0800 |
commit | fbc8c4e6e0e4bf52c3c954895e388c914bd04aa8 (patch) | |
tree | a3ade43e6d89f001b055c9277b70a3917023d92e /template/nginx/reverse-proxy.conf.template | |
parent | 4a726c4a66970ddc5226538a7cca138c6526e673 (diff) | |
download | crupest-fbc8c4e6e0e4bf52c3c954895e388c914bd04aa8.tar.gz crupest-fbc8c4e6e0e4bf52c3c954895e388c914bd04aa8.tar.bz2 crupest-fbc8c4e6e0e4bf52c3c954895e388c914bd04aa8.zip |
Try to fix nginx and timeline.
Diffstat (limited to 'template/nginx/reverse-proxy.conf.template')
-rw-r--r-- | template/nginx/reverse-proxy.conf.template | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/template/nginx/reverse-proxy.conf.template b/template/nginx/reverse-proxy.conf.template index b17f042..2fc94b0 100644 --- a/template/nginx/reverse-proxy.conf.template +++ b/template/nginx/reverse-proxy.conf.template @@ -11,7 +11,9 @@ server { proxy_pass http://${CRUPEST_NGINX_UPSTREAM_NAME}; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $http_connection; + proxy_set_header Connection $connection_upgrade; + proxy_cache off; + proxy_buffering off; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; |