Reverse proxy/Hedgedoc: Enable WebSocket

This commit is contained in:
Viyurz 2024-02-17 19:37:21 +01:00
parent 78c8a8a08d
commit 2cf429ab16

View file

@ -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;
}
}