jitsi-meet: Also forward Excalidraw connections when using Caddy as web server

This commit is contained in:
Erin Yuki Schlarb 2024-01-12 22:44:18 +01:00
parent 61cf88212d
commit 9e8b3f97cc

View File

@ -513,7 +513,11 @@ in
cp ${overrideJs "${pkgs.jitsi-meet}/interface_config.js" "interfaceConfig" cfg.interfaceConfig ""} $out/interface_config.js
cp ./libs/external_api.min.js $out/external_api.js
'';
in ''
in (optionalString cfg.excalidraw.enable ''
handle /socket.io/ {
reverse_proxy 127.0.0.1:${toString cfg.excalidraw.port}
}
'') + ''
handle /http-bind {
header Host ${cfg.hostName}
reverse_proxy 127.0.0.1:5280