Compare commits

...
1 Commits
Author SHA1 Message Date
jschoubben bf818b9fa6 route-proxy: tell the proxy the private network's range
The proxy serves internal names only to requests from the private network
and needs its range to know which those are (novox/hq issue 191).
2026-10-02 01:10:13 +02:00
+11 -2
View File
@@ -80,6 +80,13 @@
"mode": "0600", "mode": "0600",
"content": "INTERNAL_ACME_DIRECTORY=https://${bound:internal-acme-ca:at}:${bound:internal-acme-ca:port}${bound:internal-acme-ca:path}\nINTERNAL_ACME_ROOTS=https://${bound:internal-acme-ca:at}:${bound:internal-acme-ca:port}${bound:internal-acme-ca:roots}\nINTERNAL_ACME_ROOTS_PATH=${bound:internal-acme-ca:roots}\n" "content": "INTERNAL_ACME_DIRECTORY=https://${bound:internal-acme-ca:at}:${bound:internal-acme-ca:port}${bound:internal-acme-ca:path}\nINTERNAL_ACME_ROOTS=https://${bound:internal-acme-ca:at}:${bound:internal-acme-ca:port}${bound:internal-acme-ca:roots}\nINTERNAL_ACME_ROOTS_PATH=${bound:internal-acme-ca:roots}\n"
}, },
{
"id": "internal-sources-env",
"type": "file",
"path": "${dir:state}/internal-sources.env",
"mode": "0600",
"content": "INTERNAL_SOURCES=${machine:mesh-range}\n"
},
{ {
"id": "trust", "id": "trust",
"type": "container", "type": "container",
@@ -132,7 +139,8 @@
"network": "host", "network": "host",
"env-file": [ "env-file": [
"${dir:state}/acme.env", "${dir:state}/acme.env",
"${dir:state}/internal-acme.env" "${dir:state}/internal-acme.env",
"${dir:state}/internal-sources.env"
], ],
"volumes": [ "volumes": [
"${dir:routes-dir}:/routes:ro", "${dir:routes-dir}:/routes:ro",
@@ -151,7 +159,8 @@
"trust", "trust",
"acme-env", "acme-env",
"internal-trust", "internal-trust",
"internal-acme-env" "internal-acme-env",
"internal-sources-env"
] ]
} }
], ],