A deny of 403 from waf is answered with refused.html, a deny of 429 with ratelimited.html, each as text/html with waf's other headers kept. Both pages are made once at start and held in memory. With SWW_RPROXY_CONTACT_EMAIL set, their "contact the site's operator" is a mailto link to it; the value is taken as given.
This commit is contained in:
1 parent
5dfa47c97b
commit
b157359910
8 files changed
+111
-3
No files matched your search
@@ -10,6 +10,9 @@ services:
|
||||
SWW_RPROXY_WAF_BACKEND: http://waf:8080
|
||||
SWW_RPROXY_UPSTREAM_URL: http://exampleapp:8081
|
||||
|
||||
# The address the refusal pages link to.
|
||||
# SWW_RPROXY_CONTACT_EMAIL: ops@example.com
|
||||
|
||||
# The netblocks whose X-Forwarded-For rproxy believes. By default
|
||||
# the private ranges, which cover a TLS-terminating proxy on the
|
||||
# Docker network. A proxy elsewhere needs its address added; a
|
||||
|
||||
Reference in new issue
Block a user