From c49dd898b59eef8519f63ecfddf6e33a35721580 Mon Sep 17 00:00:00 2001 From: Arlolic <41295998+Arlolic@users.noreply.github.com> Date: Tue, 7 Jan 2025 15:16:54 -0500 Subject: [PATCH] Update LetsEncrypt.md Updated based on the solution by ArakiSatoshi for issue #8074. Added lines for websocket support --- docs/tutorials/integrations/tab-nginx/LetsEncrypt.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/tutorials/integrations/tab-nginx/LetsEncrypt.md b/docs/tutorials/integrations/tab-nginx/LetsEncrypt.md index b1cc7ec..1ce7aee 100644 --- a/docs/tutorials/integrations/tab-nginx/LetsEncrypt.md +++ b/docs/tutorials/integrations/tab-nginx/LetsEncrypt.md @@ -26,6 +26,12 @@ Let's Encrypt provides free SSL certificates trusted by most browsers, ideal for location / { proxy_pass http://host.docker.internal:3000; + + # Add WebSocket support (Necessary for version 0.5.0 and up) + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;