aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoransible_admin <capsul@cyberia.club>2021-01-18 23:51:59 +0000
committeransible_admin <capsul@cyberia.club>2021-01-18 23:51:59 +0000
commite3fcb7ab4dadf3e17cba8f674edfa3f78a632035 (patch)
tree198c35740138c6676acfbc36ac4b59f2eb623912
parent3dca6ee28b28b9c27c2f691ad285232bbd2a5f37 (diff)
downloadops-handbook-e3fcb7ab4dadf3e17cba8f674edfa3f78a632035.tar.gz
ops-handbook-e3fcb7ab4dadf3e17cba8f674edfa3f78a632035.tar.bz2
add minor nginx fixes
-rw-r--r--ansible/files/comet.cyberia.club/nginx/stream.cyberia.club.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/ansible/files/comet.cyberia.club/nginx/stream.cyberia.club.conf b/ansible/files/comet.cyberia.club/nginx/stream.cyberia.club.conf
index c5f6556..b83416c 100644
--- a/ansible/files/comet.cyberia.club/nginx/stream.cyberia.club.conf
+++ b/ansible/files/comet.cyberia.club/nginx/stream.cyberia.club.conf
@@ -18,5 +18,8 @@ server {
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:8080;
+ proxy_http_version 1.1;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header Connection "upgrade";
}
}