diff --git a/cluster/services/ipfs/default.nix b/cluster/services/ipfs/default.nix index faad0a0..b29c1e2 100644 --- a/cluster/services/ipfs/default.nix +++ b/cluster/services/ipfs/default.nix @@ -52,7 +52,13 @@ dns.records = { p2p.consulService = "ipfs-gateway"; - ".*\\.ipfs".consulService = "ipfs-gateway"; - ".*\\.ipns".consulService = "ipfs-gateway"; + ".*\\.ipfs" = { + consulService = "ipfs-gateway"; + rewrite.type = "regex"; + }; + ".*\\.ipns" = { + consulService = "ipfs-gateway"; + rewrite.type = "regex"; + }; }; }