mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
jitsi-meet: Also forward Excalidraw connections when using Caddy as web server
This commit is contained in:
parent
61cf88212d
commit
9e8b3f97cc
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue