Skip to content

Commit

Permalink
Revert "removed websocket specific config"
Browse files Browse the repository at this point in the history
This reverts commit 1a3259a.
  • Loading branch information
krokicki committed Aug 2, 2024
1 parent 1a3259a commit d563b36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/include/proxy_pass.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;

proxy_ignore_headers Expires;
proxy_ignore_headers X-Accel-Expires;
Expand Down
5 changes: 5 additions & 0 deletions docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ http {
}
}

map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}

upstream jproxy {
server jproxy:8000;
}
Expand Down

0 comments on commit d563b36

Please sign in to comment.