Reverse proxy/Hedgedoc: Enable WebSocket
This commit is contained in:
parent
78c8a8a08d
commit
2cf429ab16
1 changed files with 7 additions and 0 deletions
|
@ -101,6 +101,13 @@ server {
|
|||
location / {
|
||||
proxy_pass http://localhost:{{ ports['hedgedoc'] }};
|
||||
}
|
||||
|
||||
location /socket.io/ {
|
||||
proxy_pass http://localhost:{{ ports['hedgedoc'] }};
|
||||
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $http_connection;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue