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
This commit is contained in:
1 parent
5b5a12e57c
commit
3305014847
1 file changed
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user