servo: laka.osaka: fix so hickory-dns serves the site, and / is served by index.html
This commit is contained in:
@@ -13,13 +13,14 @@
|
|||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
root = "/var/www/sites/waka.laka.osaka";
|
root = "/var/www/sites/waka.laka.osaka";
|
||||||
tryFiles = "$uri $uri/";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
sane.dns.zones."laka.osaka".inet = {
|
sane.dns.zones."laka.osaka".inet = {
|
||||||
|
SOA."@" = config.sane.dns.zones."uninsane.org".inet.SOA."@";
|
||||||
A."@" = config.sane.dns.zones."uninsane.org".inet.A."@";
|
A."@" = config.sane.dns.zones."uninsane.org".inet.A."@";
|
||||||
NS."@" = config.sane.dns.zones."uninsane.org".inet.NS."@";
|
NS."@" = config.sane.dns.zones."uninsane.org".inet.NS."@";
|
||||||
CNAME."waka" = "native.uninsane.org.";
|
CNAME."waka" = "native.uninsane.org.";
|
||||||
};
|
};
|
||||||
|
services.hickory-dns.settings.zones = [ "laka.osaka" ]; #< TODO: hickory-dns should figure this out itself!
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user