From bc7b0277f220230f31411a160a81953654e306a5 Mon Sep 17 00:00:00 2001 From: Michele Porelli Date: Wed, 5 Feb 2020 11:50:10 +1100 Subject: [PATCH] fixed nginx configuration for subdomains proxy options were missing for the root location --- source/_docs/ecosystem/nginx_subdomain.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_docs/ecosystem/nginx_subdomain.markdown b/source/_docs/ecosystem/nginx_subdomain.markdown index c749b49d5ee6..2d4ba1519941 100644 --- a/source/_docs/ecosystem/nginx_subdomain.markdown +++ b/source/_docs/ecosystem/nginx_subdomain.markdown @@ -85,6 +85,10 @@ server { location / { proxy_pass http://localhost:8124; proxy_set_header Host $host; + + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; } location /api/websocket {