From 2ce5b5fd670bca5724c4cd94fac8e19caa6780d9 Mon Sep 17 00:00:00 2001 From: Bastian Gruber Date: Tue, 22 Jul 2025 13:51:55 +0200 Subject: [PATCH] update README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b4ed3f..ea655e8 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ OHTTP enables clients to make HTTP requests without revealing their identity to ## Architecture +``` Client -> Relay -> Gateway -> Target Server | | | v @@ -18,7 +19,7 @@ Client -> Relay -> Gateway -> Target Server | [Encrypt Response] | | <--------+ - +``` This implementation serves as the Gateway component, handling: - HPKE-encrypted request decapsulation @@ -43,7 +44,7 @@ The gateway is configured via environment variables: ### Basic Configuration ```bash -LISTEN_ADDR=0.0.0.0:8080 # Server bind address +PORT="8080" # Server port BACKEND_URL=http://localhost:8080 # Default backend URL REQUEST_TIMEOUT=30 # Request timeout in seconds MAX_BODY_SIZE=10485760 # Maximum request body size (10MB)