cluster/services/ipfs: more dns records
This commit is contained in:
parent
bde04dac87
commit
5150894720
1 changed files with 6 additions and 2 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue