Skip to content

Commit 95fa38f

Browse files
committed
Fix to nginx config for websockets
1 parent a31a4dd commit 95fa38f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deploy/rest-python-nginx.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
location /rh/rest/ {
2+
proxy_set_header Host $host;
23
proxy_pass http://localhost:9401;
4+
proxy_set_header Upgrade $http_upgrade;
5+
proxy_set_header Connection "Upgrade";
36
}

0 commit comments

Comments
 (0)