Skip to content

Commit

Permalink
fix websocket connection issue in docker #3195 (#3196)
Browse files Browse the repository at this point in the history
* fix websocket connection issue in docker #3195

* fix websocket connection issue for local env with removing from the prod nginx conf template #319
  • Loading branch information
abidkhan484 authored and sriramveeraghanta committed Jan 22, 2024
1 parent b29899a commit 2b5c293
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nginx/nginx.conf.dev
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ http {

location / {
proxy_pass http://web:3000/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}

location /api/ {
Expand Down

0 comments on commit 2b5c293

Please sign in to comment.