commit 0874aee3d8b5d6088f602f3f0fd94c1174061b81 parent 54204be156eec1835f56f93ab5fcddea571196fc Author: NicholasFarrow <nicholas.w.farrow@gmail.com> Date: Mon, 28 Dec 2020 22:38:35 +1100 fix websockets for https nginx Diffstat:
M | docs/HTTPS.md | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/docs/HTTPS.md b/docs/HTTPS.md @@ -7,6 +7,10 @@ server { location / { proxy_pass http://localhost:8000; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host $host; } } ```