feat(whiteboard) add builtin whiteboard integration

Closes: https://github.com/jitsi/docker-jitsi-meet/pull/1480

Co-authored-by: Tugrul Dogan <tugrul.ufuk@gmail.com>
Co-authored-by: Saúl Ibarra Corretgé <saghul@jitsi.org>
This commit is contained in:
loli10K
2024-04-25 10:52:08 +02:00
committed by Saúl Ibarra Corretgé
parent 49bd1657d5
commit b4604f3078
5 changed files with 46 additions and 5 deletions

View File

@@ -134,6 +134,21 @@ location ^~ /etherpad/ {
}
{{ end }}
{{ if .Env.WHITEBOARD_COLLAB_SERVER_URL_BASE }}
# whiteboard (excalidraw-backend)
location = /socket.io/ {
proxy_buffering off;
proxy_cache_bypass $http_upgrade;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass {{ .Env.WHITEBOARD_COLLAB_SERVER_URL_BASE }}/socket.io/?$args;
}
{{ end }}
location ~ ^/([^/?&:'"]+)$ {
try_files $uri @root_path;
}