aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorADRN <adrien@luxeylab.net>2024-02-05 00:43:14 +0100
committerADRN <adrien@luxeylab.net>2024-02-05 00:43:14 +0100
commit9d77b5863a0c12d99bf15095a6ab2a9848327b5a (patch)
tree966f6af5e93401d0b421c1a4ac44684cd9a3c04b
parent4cddb15fa4a25f4246ff804e72d3b55fd7676d4c (diff)
downloadnixcfg-9d77b5863a0c12d99bf15095a6ab2a9848327b5a.tar.gz
nixcfg-9d77b5863a0c12d99bf15095a6ab2a9848327b5a.zip
added URL to redirect
-rwxr-xr-xcluster/prod/register_external_services.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/cluster/prod/register_external_services.sh b/cluster/prod/register_external_services.sh
index aed55ad..8800f71 100755
--- a/cluster/prod/register_external_services.sh
+++ b/cluster/prod/register_external_services.sh
@@ -26,15 +26,18 @@ curl -vv -X PUT http://localhost:8500/v1/catalog/register -H "Content-Type: app
{
"Datacenter": "prod",
"Node": "spoutnik",
- "Address": "192.168.1.60",
+ "Address": "192.168.1.51",
"NodeMeta": {
"site": "scorpio",
"cname_target": "scorpio.site.deuxfleurs.fr."
},
"Service": {
"Service": "adrien-nginx",
- "Tags": ["tricot-https *.luxeylab.net"],
- "Address": "192.168.1.60",
+ "Tags": [
+ "tricot-https *.luxeylab.net",
+ "tricot-https *.zinz.dev"
+ ],
+ "Address": "192.168.1.51",
"Port": 443
}
}