From 29fe070f9ec30a6d2279fdf434db1599f2d29276 Mon Sep 17 00:00:00 2001 From: reoring Date: Tue, 10 Feb 2026 14:53:19 +0900 Subject: [PATCH] docs: simplify request processing diagram in README Keep detailed version in architecture.md, use compact flowchart in README. Co-Authored-By: Claude Opus 4.6 (1M context) --- README.md | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 6553c59..4972a89 100644 --- a/README.md +++ b/README.md @@ -47,22 +47,17 @@ This makes BotBox a natural fit for any scenario where you need to **run untrust ### Request Processing ```mermaid -flowchart TD - A["Incoming HTTP request"] --> B{"Host in
allowlist?"} - B -- "No" --> C["403 Forbidden"] - B -- "Yes" --> D["Strip hop-by-hop headers"] - D --> E["Set Host header for upstream"] - E --> F{"Header rewrite
rules?"} - F -- "Yes" --> G["Delete existing header
prevent smuggling"] - G --> H["Inject secret from
K8s Secret mount"] - H --> I["TLS origination
http → https"] - F -- "No" --> I - I --> J["Stream response back"] +flowchart LR + A["HTTP request"] --> B{"Allowlist"} + B -- "deny" --> C["403"] + B -- "allow" --> D["Rewrite headers\n+ inject secrets"] --> E["TLS → upstream"] style C fill:#fee2e2,stroke:#dc2626 - style J fill:#d1fae5,stroke:#059669 + style E fill:#d1fae5,stroke:#059669 ``` +See [Architecture](docs/architecture.md) for the full request processing pipeline. + ### iptables Network Rules ```mermaid