hackyplayer: fix SSO ordering in Caddyfile

This commit is contained in:
Luke Granger-Brown 2024-07-05 20:09:04 +01:00
parent 81f325bed6
commit 637249ec59

View file

@ -165,7 +165,7 @@ in
listenAddresses = lib.mkIf (cfg.listenAddresses != null) cfg.listenAddresses; listenAddresses = lib.mkIf (cfg.listenAddresses != null) cfg.listenAddresses;
extraConfig = '' extraConfig = ''
${cfg.caddyPrefixExtraHandles} ${cfg.caddyPrefixExtraHandles}
handle { route {
${cfg.caddyPrefixExtraConfig} ${cfg.caddyPrefixExtraConfig}
${lib.concatMapStrings (src: '' ${lib.concatMapStrings (src: ''
route /static/video/${src.WEBDIR}/* { route /static/video/${src.WEBDIR}/* {