11sync: redirect /admin/* to admin.11sync.net
This commit is contained in:
parent
be174ba380
commit
9ad9881215
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in New Issue