From 330501484756e30ecd14c22c99ee9add76969f50 Mon Sep 17 00:00:00 2001 From: sneak Date: Thu, 19 Nov 2026 09:16:16 +0000 Subject: [PATCH] README: say what close gives a refused client behind traefik The commented SWW_WAF_BAN_RESPONSE line said close drops a refused client's connection, but in this example traefik is in front and answers the client 502 when rproxy closes the connection. The comment now says so, and why someone would set it. Model: opus-5-5 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e25d77..f5ef002 100644 --- a/README.md +++ b/README.md @@ -553,7 +553,9 @@ services: # For a site only for people in a few countries. Clients # elsewhere are refused, and so are any the lookup cannot place. # SWW_WAF_EXCLUSIVELY_ALLOWED_COUNTRIES: de,at,ch - # Drop a refused client's connection rather than answer 403. + # Close a refused request's connection rather than answer + # 403. traefik then answers 502, so a scraper cannot tell a + # ban from a broken site. # SWW_WAF_BAN_RESPONSE: close # A copy of every log line to a syslog server. # SWW_WAF_LOG_REMOTE_URL: syslog+tls://logs.example.com:6514