admin.11sync.net

This commit is contained in:
Motiejus Jakštys 2024-01-20 14:36:34 +02:00
parent e4ffdf6a2d
commit 303c343c40
3 changed files with 12 additions and 10 deletions

View File

@ -145,7 +145,7 @@ rec {
ns1 A ${vno1}
ns2 A ${fra1a}
www 600 A ${fra1a}
admin 600 A ${fra1a}
admin 600 A ${hosts."fra1-a.servers.jakst".jakstIP}
key1._domainkey CNAME key1.11sync.net._domainkey.migadu.com.
key2._domainkey CNAME key2.11sync.net._domainkey.migadu.com.
key3._domainkey CNAME key3.11sync.net._domainkey.migadu.com.

View File

@ -71,11 +71,11 @@
]
},
"locked": {
"lastModified": 1705745512,
"narHash": "sha256-kcf2xuu3lQdXY+WNWjk4RiPJyhxB8Ewr7H5FQRAbL3w=",
"lastModified": 1705754139,
"narHash": "sha256-cG444HFP/t27diJsRo7clqzzXhhaN3GpGG5GuorM+jk=",
"ref": "refs/heads/main",
"rev": "5c957684e4f2a3ae15e687b4a4324dfdb9ba3eaf",
"revCount": 131,
"rev": "7d6143a83230298e85c45283435f702dd359e8c7",
"revCount": 135,
"type": "git",
"url": "https://git.jakstys.lt/motiejus/e11sync"
},
@ -248,11 +248,11 @@
},
"nur": {
"locked": {
"lastModified": 1705736227,
"narHash": "sha256-jOpNLWAB8W4B5Lii+m60KqVjKKzYvAQj2a6/Gdf/ytM=",
"lastModified": 1705751097,
"narHash": "sha256-WYDyMjCFPvY/4oAb51znGVYO87L+murinwJSKWjlXyQ=",
"owner": "nix-community",
"repo": "NUR",
"rev": "f8acdb369de0846742840c1b19026f81df6af24b",
"rev": "883f061dd30e40bb06f1ed490ab073cb18c41a41",
"type": "github"
},
"original": {

View File

@ -96,9 +96,11 @@
"www.11sync.net".extraConfig = ''
redir https://11sync.net
'';
"admin.11sync.net".extraConfig = ''
"http://admin.11sync.net".extraConfig = ''
@denied not remote_ip ${myData.subnets.tailscale.cidr}
${builtins.readFile "${pkgs.e11sync-frontend}"}
redir / /admin/
${builtins.readFile "${pkgs.e11sync-caddyfile}"}
'';
};
};