From b9cd87c6770b3768b2b66677f0ba7790e7cb75bc Mon Sep 17 00:00:00 2001 From: Alec Muffett Date: Sat, 5 Mar 2022 18:49:28 +0000 Subject: [PATCH] commit: more docs --- demo.d/example.tconf | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/demo.d/example.tconf b/demo.d/example.tconf index 21ba26c..bf19267 100644 --- a/demo.d/example.tconf +++ b/demo.d/example.tconf @@ -34,10 +34,12 @@ # # set x_from_onion_value 1 -# Other headers to pass upstream to Origin; be careful not to tread on -# any which are controlled elsewhere / by other means, such as "Host" -# or "Accept-Encoding", as those MUST win. See "nginx.conf.txt" for -# relevant code. +# Other headers to pass upstream to Origin in order to enable +# whitelisting, etc; be careful not to tread on any which are +# controlled elsewhere / by other means, such as "Host" or +# "Accept-Encoding", as those MUST win. It is preferred for the +# Origin to detect and whitelist "X-From-Onion", but this provides an +# alternative. See "nginx.conf.txt" for relevant code. # # set inject_headers_upstream header-name,header-value [...]