Skip to content

Commit

Permalink
Merge pull request #118 from sickelap/proxy_pass_websockets
Browse files Browse the repository at this point in the history
proxy pass WS in root path
  • Loading branch information
derneuere authored Jan 25, 2024
2 parents 01a4565 + 89c0517 commit 87992dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proxy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ http {
proxy_intercept_errors on;
proxy_set_header Host $host;
proxy_pass http://frontend:3000/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location ~ ^/(api|media)/ {
proxy_set_header X-Forwarded-Proto $scheme;
Expand Down

0 comments on commit 87992dd

Please sign in to comment.