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

Backport #31143 by @HorlogeSkynet

---

(fix up for #31003)

Co-authored-by: Samuel FORESTIER <[email protected]>
This commit is contained in:
Giteabot
2024-05-29 08:54:14 +08:00
committed by GitHub
co-authored by Samuel FORESTIER
parent 29fa46e86e
commit 368cd48a39
-1
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>
```