cluster/services/ipfs: use regex rewrite type
This commit is contained in:
parent
b2c9676a49
commit
2bdb62b255
1 changed files with 8 additions and 2 deletions
|
@ -52,7 +52,13 @@
|
||||||
|
|
||||||
dns.records = {
|
dns.records = {
|
||||||
p2p.consulService = "ipfs-gateway";
|
p2p.consulService = "ipfs-gateway";
|
||||||
".*\\.ipfs".consulService = "ipfs-gateway";
|
".*\\.ipfs" = {
|
||||||
".*\\.ipns".consulService = "ipfs-gateway";
|
consulService = "ipfs-gateway";
|
||||||
|
rewrite.type = "regex";
|
||||||
|
};
|
||||||
|
".*\\.ipns" = {
|
||||||
|
consulService = "ipfs-gateway";
|
||||||
|
rewrite.type = "regex";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue