Add extra domain names for kwahson and toph in ACME configuration; update dnsmasq for blog.toph.cc
This commit is contained in:
parent
ca8d7eeac2
commit
aa9b48fcc9
3 changed files with 20 additions and 13 deletions
|
@ -34,13 +34,13 @@ in
|
|||
# extraDomainNames = [ "*.kwahson.com" ];
|
||||
# };
|
||||
|
||||
# "kwahson.xyz" = {
|
||||
# extraDomainNames = [ "*.kwahson.xyz" ];
|
||||
# };
|
||||
"kwahson.xyz" = {
|
||||
extraDomainNames = [ "*.kwahson.xyz" ];
|
||||
};
|
||||
|
||||
# "toph.cc" = {
|
||||
# extraDomainNames = [ "*.toph.cc" ];
|
||||
# };
|
||||
"toph.cc" = {
|
||||
extraDomainNames = [ "*.toph.cc" ];
|
||||
};
|
||||
|
||||
"ryot.foo" = {
|
||||
extraDomainNames = [ "*.ryot.foo" ];
|
||||
|
|
|
@ -2,12 +2,17 @@
|
|||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
# "ryot.foo" = {
|
||||
# useACMEHost = "ryot.foo";
|
||||
# extraConfig = ''
|
||||
# reverse_proxy 104.40.3.44:80
|
||||
# '';
|
||||
# };
|
||||
|
||||
## TOPH.CC ##
|
||||
|
||||
"blog.toph.cc" = {
|
||||
useACMEHost = "toph.cc";
|
||||
extraConfig = ''
|
||||
reverse_proxy localhost:2368
|
||||
'';
|
||||
};
|
||||
|
||||
## RYOT.FOO ##
|
||||
|
||||
"auth.ryot.foo" = {
|
||||
useACMEHost = "ryot.foo";
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
];
|
||||
|
||||
# INFO: Why this setup for services?
|
||||
# - OpenWRT forwards every *.ryot.foo query to this DNS server
|
||||
# - OpenWRT forwards every *ryot.foo and *toph.cc query to this DNS server
|
||||
# - dnsmasq hands out fixed IPs for those subdomains.
|
||||
# - Each target host runs Caddy to serve its site.
|
||||
# No Docker labels, no discovery magic—just reliable routing clearly documented with Nix.
|
||||
|
@ -48,6 +48,8 @@
|
|||
"/outline.ryot.foo/104.40.3.44"
|
||||
"/plane.ryot.foo/104.40.3.44"
|
||||
|
||||
"/blog.toph.cc/104.40.3.44"
|
||||
|
||||
## SOCK ##
|
||||
"/upsnap.ryot.foo/104.40.3.54"
|
||||
"/sock.ryot.foo/104.40.3.54"
|
||||
|
|
Loading…
Add table
Reference in a new issue