cluster/services/ipfs: configure public gateway address on node

This commit is contained in:
Max Headroom 2023-06-02 23:39:41 +02:00
parent 3e0684ffb5
commit a55fc7bb44

View file

@ -57,6 +57,14 @@ in
}; };
}; };
services.ipfs.extraConfig.Gateway.PublicGateways = {
"${domain}" = {
Paths = [ "/ipfs" "/ipns" ];
NoDNSLink = false;
UseSubdomains = true;
};
};
consul.services.ipfs-gateway = { consul.services.ipfs-gateway = {
mode = "external"; mode = "external";
unit = "ipfs"; unit = "ipfs";