]> source.dussan.org Git - gitea.git/commit
Extend the fail2ban instructions with a hint on how to make X-Real-IP… (#16446)
authordosera <doser.andre@gmail.com>
Fri, 16 Jul 2021 09:04:52 +0000 (11:04 +0200)
committerGitHub <noreply@github.com>
Fri, 16 Jul 2021 09:04:52 +0000 (10:04 +0100)
commit95f40047efe5bf9cf0d32315a2b95f04217f613a
treef43955c827c2a6858f43660edf71778bed4020b3
parent7b31aae414fe8c4117ffd2d2c284d111e52f700e
Extend the fail2ban instructions with a hint on how to make X-Real-IP… (#16446)

Following the merging of #14959 - Gitea is a lot more strict regarding the interpretation of `X-Real-IP` and `X-Forwarded-For` headers.

This PR updates the fail2ban documentation to include hints to set: `REVERSE_PROXY_TRUSTED_PROXIES` and `REVERSE_PROXY_LIMIT` appropriately.

See discussion in #16443

Co-authored-by: zeripath <art27@cantab.net>
docs/content/doc/usage/fail2ban-setup.en-us.md