diff --git a/nixos-apps/jitsi.crueltysquad.com.nix b/nixos-apps/jitsi.crueltysquad.com.nix index a100f72..8d9e26a 100644 --- a/nixos-apps/jitsi.crueltysquad.com.nix +++ b/nixos-apps/jitsi.crueltysquad.com.nix @@ -25,8 +25,21 @@ virtualHosts = { "meet.ottawaswingdance.social" = { extraConfig = '' - reverse_proxy 127.0.0.1:5280 { - header Host meet.ottawaswingdance.social + handle /http-bind { + header Host jitsi.crueltysquad.com + reverse_proxy 127.0.0.1:5280 + } + + handle /xmpp-websocket { + reverse_proxy 127.0.0.1:5280 + } + + handle { + templates + root * /nix/store/5mbs3m473qdyddyv00rbn0s92fmvr1ff-templated-jitsi-meet + try_files {path} {path} + try_files {path} /index.html + file_server } ''; };