diff --git a/cluster/services/ipfs/gateway.nix b/cluster/services/ipfs/gateway.nix index 16af4c0..1832ba3 100644 --- a/cluster/services/ipfs/gateway.nix +++ b/cluster/services/ipfs/gateway.nix @@ -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";