From 637249ec59df3bf7e1fae2534e37cc9b7ee52435 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown <hg@lukegb.com> Date: Fri, 5 Jul 2024 20:09:04 +0100 Subject: [PATCH] hackyplayer: fix SSO ordering in Caddyfile --- ops/nixos/lib/hackyplayer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}/* {