]> source.dussan.org Git - gitea.git/commit
Improve reverse proxy documents and clarify the AppURL guessing behavior (#31003...
authorGiteabot <teabot@gitea.io>
Sun, 19 May 2024 15:22:54 +0000 (23:22 +0800)
committerGitHub <noreply@github.com>
Sun, 19 May 2024 15:22:54 +0000 (15:22 +0000)
commita58498cc430fdc5756b8a8f893eb865c5e7080b6
tree93e3d03a3630e1733a6d7520b80abdbaa526f6fa
parent8eac16de217978c1f7034f8e360f54d8d638e95e
Improve reverse proxy documents and clarify the AppURL guessing behavior (#31003) (#31020)

Backport #31003 by wxiaoguang

Fix #31002

1. Mention Make sure `Host` and `X-Fowarded-Proto` headers are correctly passed to Gitea
2. Clarify the basic requirements and move the "general configuration" to the top
3. Add a comment for the "container registry"
4. Use 1.21 behavior if the reverse proxy is not correctly configured

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
docs/content/administration/reverse-proxies.en-us.md
modules/httplib/url.go
modules/httplib/url_test.go
routers/api/packages/container/container.go
routers/web/admin/admin_test.go