cluster/services/ipfs: use regex rewrite type

This commit is contained in:
Max Headroom 2023-11-02 23:56:38 +01:00
parent b2c9676a49
commit 2bdb62b255

View file

@ -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";
};
};
}