Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

docs: drop the local-proxy wording now that the TLS terminator may sit on another host

David Neyra911d4b53a32f
diff --git a/compose.yaml b/compose.yaml
index 1fb4420579..d0361eb012 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -56,7 +56,7 @@ services:
# HTTPS is claimed by the peer that terminates TLS, so a bind address
# that others can reach has to name that peer.
if [ -n "$$OMB_HTTPS_HOST" ] && [ "$$OMB_BIND_ADDRESS" != "127.0.0.1" ] && [ -z "$$OMB_TRUSTED_PROXY_CIDRS" ]; then
- echo "OMB_HTTPS_HOST with OMB_BIND_ADDRESS=$$OMB_BIND_ADDRESS requires OMB_TRUSTED_PROXY_CIDRS naming the TLS terminator; forward HTTPS through a trusted local proxy." >&2
+ echo "OMB_HTTPS_HOST with OMB_BIND_ADDRESS=$$OMB_BIND_ADDRESS requires OMB_TRUSTED_PROXY_CIDRS naming the TLS terminator; forward HTTPS through that terminator." >&2
exit 1
fi
# An empty list lets any peer claim the HTTPS hostname, which only the
diff --git a/deploy/local/README.md b/deploy/local/README.md
index a7312bbde3..03e09946ef 100644
--- a/deploy/local/README.md
+++ b/deploy/local/README.md
@@ -19,13 +19,14 @@ For Tailscale Serve, set `OMB_PUBLIC_URL` to your HTTPS URL and
`OMB_HTTPS_HOST` to its hostname without scheme or path. Configure Tailscale
Serve on the host to forward to the chosen localhost HTTP port.
Keep the default `OMB_BIND_ADDRESS=127.0.0.1`. Caddy refuses to start when
-`OMB_HTTPS_HOST` is set with any other bind address, so direct remote HTTP
-clients cannot claim HTTPS semantics by supplying that hostname.
+`OMB_HTTPS_HOST` is set with any other bind address and no
+`OMB_TRUSTED_PROXY_CIDRS` list, so direct remote HTTP clients cannot claim
+HTTPS semantics by supplying that hostname.
The hostname mapping preserves HTTPS
semantics for that host while localhost access continues to use HTTP.
Private tailnet webhook URLs are only reachable by callers on that tailnet.
Without `OMB_HTTPS_HOST`, the bind address can be changed for HTTP access.
-Only use HTTPS hostname mapping with a trusted local TLS-terminating proxy.
+Only use HTTPS hostname mapping with a trusted TLS-terminating proxy.
The TLS terminator does not have to sit on the same host. When the containers
run on one machine and the terminator on another (a Cloudflare Tunnel on