Remove duplicate ProxyPreserveHost in Apache httpd doc (#31143) (#31147)

Backport #31143 by @HorlogeSkynet

---

(fix up for #31003)

Co-authored-by: Samuel FORESTIER <HorlogeSkynet@users.noreply.github.com>
This commit is contained in:
Giteabot 2024-05-29 08:54:14 +08:00 committed by GitHub
parent b615a59db8
commit 9c93c6249c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -169,7 +169,6 @@ If you want Apache HTTPD to serve your Gitea instance, you can add the following
ProxyRequests off
AllowEncodedSlashes NoDecode
ProxyPass / http://localhost:3000/ nocanon
ProxyPreserveHost On
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
</VirtualHost>
```