gitea/routers/web/admin
wxiaoguang 339bc8bc8f
Improve reverse proxy documents and clarify the AppURL guessing behavior ()
Fix 

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: KN4CK3R <admin@oldschoolhack.me>
..
admin.go Check if reverse proxy is correctly configured ()
admin_test.go Improve reverse proxy documents and clarify the AppURL guessing behavior ()
applications.go Move context from modules to services ()
auths.go Move context from modules to services ()
config.go Make sure git version&feature are always prepared ()
diagnosis.go Move context from modules to services ()
emails.go migrate some more "OptionalBool" to "Option[bool]" ()
hooks.go remove util.OptionalBool and related functions ()
main_test.go make writing main test easier ()
notice.go Move context from modules to services ()
orgs.go Update misspell to 0.5.1 and add `misspellings.csv` ()
packages.go remove util.OptionalBool and related functions ()
queue.go Move context from modules to services ()
queue_tester.go Improve queue and logger context ()
repos.go Remove AddParamIfExist(AddParam) ()
runners.go Move context from modules to services ()
stacktrace.go Move context from modules to services ()
users.go Update misspell to 0.5.1 and add `misspellings.csv` ()
users_test.go Move context from modules to services ()