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 = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue