11sync: redirect /admin/* to admin.11sync.net

This commit is contained in:
Motiejus Jakštys 2024-01-25 10:19:24 +02:00
parent be174ba380
commit 9ad9881215
1 changed files with 1 additions and 3 deletions

View File

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