diff --git a/ops/nixos/lib/hackyplayer.nix b/ops/nixos/lib/hackyplayer.nix index 4eb9fd21c7..21dae1a4fc 100644 --- a/ops/nixos/lib/hackyplayer.nix +++ b/ops/nixos/lib/hackyplayer.nix @@ -165,7 +165,7 @@ in listenAddresses = lib.mkIf (cfg.listenAddresses != null) cfg.listenAddresses; extraConfig = '' ${cfg.caddyPrefixExtraHandles} - handle { + route { ${cfg.caddyPrefixExtraConfig} ${lib.concatMapStrings (src: '' route /static/video/${src.WEBDIR}/* {