1

vm: fix admin/* redirect

This commit is contained in:
Motiejus Jakštys 2024-01-25 14:00:44 +02:00
parent 51e12c5323
commit d85ceb897b

2
vm.nix
View File

@ -18,7 +18,7 @@
debug debug
''; '';
virtualHosts.":8001".extraConfig = lib.mkForce '' virtualHosts.":8001".extraConfig = lib.mkForce ''
redir /admin/ http://{host}:8003{uri} redir /admin/* http://{host}:8003{uri}
${builtins.readFile "${pkgs.e11sync-caddyfile}"} ${builtins.readFile "${pkgs.e11sync-caddyfile}"}
''; '';
virtualHosts."http://:8003".extraConfig = lib.mkForce '' virtualHosts."http://:8003".extraConfig = lib.mkForce ''