11sync.net admin: fix url rewriting

This commit is contained in:
Motiejus Jakštys 2024-01-25 10:37:18 +02:00
parent e304f47ab9
commit e61063aee3
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@
redir https://11sync.net
'';
"11sync.net".extraConfig = lib.mkForce ''
redir /admin/* http://admin.11sync.net/admin/{uri}
redir /admin/* http://admin.11sync.net{uri}
${builtins.readFile "${pkgs.e11sync-caddyfile}"}
'';
"http://admin.11sync.net".extraConfig = ''