Skip to content

Commit

Permalink
Update LetsEncrypt.md
Browse files Browse the repository at this point in the history
Updated based on the solution by ArakiSatoshi for issue #8074.
Added lines for websocket support
  • Loading branch information
Arlolic authored Jan 7, 2025
1 parent f11856b commit c49dd89
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/tutorials/integrations/tab-nginx/LetsEncrypt.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c49dd89

Please sign in to comment.