cluster/services/ipfs: configure public gateway address on node
This commit is contained in:
parent
3e0684ffb5
commit
a55fc7bb44
1 changed files with 8 additions and 0 deletions
|
@ -57,6 +57,14 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
services.ipfs.extraConfig.Gateway.PublicGateways = {
|
||||
"${domain}" = {
|
||||
Paths = [ "/ipfs" "/ipns" ];
|
||||
NoDNSLink = false;
|
||||
UseSubdomains = true;
|
||||
};
|
||||
};
|
||||
|
||||
consul.services.ipfs-gateway = {
|
||||
mode = "external";
|
||||
unit = "ipfs";
|
||||
|
|
Loading…
Reference in a new issue