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).
This commit is contained in:
2026-10-02 01:10:13 +02:00
parent fec6d76fb3
commit bf818b9fa6
+11 -2
View File
@@ -80,6 +80,13 @@
"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"
},
{
"id": "internal-sources-env",
"type": "file",
"path": "${dir:state}/internal-sources.env",
"mode": "0600",
"content": "INTERNAL_SOURCES=${machine:mesh-range}\n"
},
{
"id": "trust",
"type": "container",
@@ -132,7 +139,8 @@
"network": "host",
"env-file": [
"${dir:state}/acme.env",
"${dir:state}/internal-acme.env"
"${dir:state}/internal-acme.env",
"${dir:state}/internal-sources.env"
],
"volumes": [
"${dir:routes-dir}:/routes:ro",
@@ -151,7 +159,8 @@
"trust",
"acme-env",
"internal-trust",
"internal-acme-env"
"internal-acme-env",
"internal-sources-env"
]
}
],