cluster/services/ipfs: more dns records

This commit is contained in:
Max Headroom 2023-12-04 00:01:33 +01:00
parent bde04dac87
commit 5150894720

View file

@ -52,11 +52,15 @@
dns.records = { dns.records = {
p2p.consulService = "ipfs-gateway"; p2p.consulService = "ipfs-gateway";
"\\.ipfs" = { pin.consulService = "ipfs-gateway";
"ipfs.admin".target = map
(node: depot.hours.${node}.interfaces.primary.addrPublic)
config.services.ipfs.nodes.remote-api;
"^[^_].+\\.ipfs" = {
consulService = "ipfs-gateway"; consulService = "ipfs-gateway";
rewrite.type = "regex"; rewrite.type = "regex";
}; };
"\\.ipns" = { "^[^_].+\\.ipns" = {
consulService = "ipfs-gateway"; consulService = "ipfs-gateway";
rewrite.type = "regex"; rewrite.type = "regex";
}; };