gitea/modules/httplib
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>
..
request.go Replace `interface{}` with `any` ()
serve.go Skip gzip for some well-known compressed file types ()
serve_test.go Less naked returns ()
url.go Improve reverse proxy documents and clarify the AppURL guessing behavior ()
url_test.go Improve reverse proxy documents and clarify the AppURL guessing behavior ()