soft-shutdown 11sync
This commit is contained in:
parent
11fe7ab7b3
commit
abc073993f
@ -129,11 +129,10 @@
|
|||||||
'';
|
'';
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"www.11sync.net".extraConfig = ''
|
"www.11sync.net".extraConfig = ''
|
||||||
redir https://11sync.net
|
redir https://jakstys.lt/2024/11sync-shutdown/
|
||||||
'';
|
'';
|
||||||
"11sync.net".extraConfig = lib.mkForce ''
|
"11sync.net".extraConfig = lib.mkForce ''
|
||||||
redir /admin/* http://admin.11sync.net{uri}
|
redir https://jakstys.lt/2024/11sync-shutdown/
|
||||||
${builtins.readFile "${pkgs.e11sync-caddyfile}"}
|
|
||||||
'';
|
'';
|
||||||
"http://admin.11sync.net".extraConfig = ''
|
"http://admin.11sync.net".extraConfig = ''
|
||||||
@denied not remote_ip ${myData.subnets.tailscale.cidr}
|
@denied not remote_ip ${myData.subnets.tailscale.cidr}
|
||||||
|
Loading…
Reference in New Issue
Block a user