README: compose example for the open internet, with common waf settings (closes #381) #413

Merged
clawbot merged 7 commits from issue-381-compose-waf-settings into next 2026-11-19 11:16:16 +01:00
7 Commits
Author SHA1 Message Date
sneak 3305014847 README: say what close gives a refused client behind traefik
check / check (push) Waiting to run
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
2026-11-19 09:16:16 +00:00
sneak 5b5a12e57c README: raise traefik's read timeout with rproxy's for large git pushes
check / check (push) In progress
The commented rproxy lines said a git push may take up to 10 minutes to
send, but traefik v3 gives a whole request, body included, 60 seconds by
default, and answers 502 to a slower one. A commented traefik line now
raises its readTimeout to match.

Model: opus-5-5
2026-11-19 08:51:32 +00:00
sneak 3222c55009 README: list the ntfy URL among the values to change first
check / check (push) Successful in 5m28s
SWW_WAF_ALERT_NTFY_URL is set to a placeholder on example.com, but the
list of what to change before the first start left it out, so a copied
example sent every alert nowhere.

Model: opus-5-5
2026-11-19 08:12:54 +00:00
sneak 580fa8f26a README: say the exempt office and CI runner would exceed the limits
"Which would pass the rate limits" reads as either getting through the
limits or going over them, the opposite reasons for the exemption.

Model: opus-5-5
2026-11-19 08:12:49 +00:00
sneak a320407ea5 README: raise the request time with the size for large git pushes
The commented rproxy line said it accepts git pushes up to 1 GiB, but
raised only SWW_RPROXY_MAX_REQUEST_SIZE. SWW_RPROXY_MAX_REQUEST_TIME_MS
still gave the body 60 seconds to arrive, so most such pushes were
answered 408.

Model: opus-5-5
2026-11-19 08:12:46 +00:00
sneak aa19f8b854 README: pin the open-internet example's traefik image by digest
The example pulled traefik:v3.7.19 by its tag, which the registry can
move; the repository's policy and every other image reference in the
repository name an image by its digest.

Model: opus-5-5
2026-11-19 08:12:41 +00:00
sneak f2fd9cd734 README: compose example for the open internet, with common waf settings (closes #381)
check / check (push) Failing after 4m4s
A new example puts one gitea behind traefik, rproxy and waf. waf sets
nine settings most sites use, then eight more commented out, each with
what it does and when to set it.

Model: opus-5-5
2026-11-19 07:45:32 +00:00