-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend the fail2ban instructions with a hint on how to make X-Real-IP… #16446
Merged
zeripath
merged 4 commits into
go-gitea:main
from
dosera:add-x-forwarded-headers-documentation
Jul 16, 2021
Merged
Extend the fail2ban instructions with a hint on how to make X-Real-IP… #16446
zeripath
merged 4 commits into
go-gitea:main
from
dosera:add-x-forwarded-headers-documentation
Jul 16, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… / X-Forwarded-For headers wor
GiteaBot
added
the
lgtm/need 2
This PR needs two approvals by maintainers to be considered for merging.
label
Jul 15, 2021
Codecov Report
@@ Coverage Diff @@
## main #16446 +/- ##
==========================================
+ Coverage 45.42% 45.45% +0.02%
==========================================
Files 717 717
Lines 84182 84182
==========================================
+ Hits 38237 38262 +25
+ Misses 39790 39775 -15
+ Partials 6155 6145 -10
Continue to review full report at Codecov.
|
dosera
force-pushed
the
add-x-forwarded-headers-documentation
branch
from
July 15, 2021 22:22
9cd7f99
to
ae56002
Compare
dosera
force-pushed
the
add-x-forwarded-headers-documentation
branch
from
July 15, 2021 22:22
ae56002
to
60c2e1e
Compare
techknowlogick
approved these changes
Jul 15, 2021
GiteaBot
added
lgtm/need 1
This PR needs approval from one additional maintainer to be merged.
and removed
lgtm/need 2
This PR needs two approvals by maintainers to be considered for merging.
labels
Jul 15, 2021
techknowlogick
added
type/docs
This PR mainly updates/creates documentation
skip-changelog
This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.
labels
Jul 15, 2021
lafriks
reviewed
Jul 15, 2021
Co-authored-by: zeripath <art27@cantab.net>
zeripath
approved these changes
Jul 16, 2021
GiteaBot
added
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
and removed
lgtm/need 1
This PR needs approval from one additional maintainer to be merged.
labels
Jul 16, 2021
AbdulrhmnGhanem
pushed a commit
to kitspace/gitea
that referenced
this pull request
Aug 10, 2021
go-gitea#16446) Following the merging of go-gitea#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 go-gitea#16443 Co-authored-by: zeripath <art27@cantab.net>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
skip-changelog
This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.
type/docs
This PR mainly updates/creates documentation
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Following the merging of #14959 - Gitea is a lot more strict regarding the interpretation of
X-Real-IP
andX-Forwarded-For
headers.This PR updates the fail2ban documentation to include hints to set:
REVERSE_PROXY_TRUSTED_PROXIES
andREVERSE_PROXY_LIMIT
appropriately.See discussion in #16443