vm: fix admin/* redirect
This commit is contained in:
parent
51e12c5323
commit
d85ceb897b
2
vm.nix
2
vm.nix
@ -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 ''
|
||||||
|
Loading…
Reference in New Issue
Block a user