]> source.dussan.org Git - gitea.git/commitdiff
Remove duplicate `ProxyPreserveHost` in Apache httpd doc (#31143) (#31147)
authorGiteabot <teabot@gitea.io>
Wed, 29 May 2024 00:54:14 +0000 (08:54 +0800)
committerGitHub <noreply@github.com>
Wed, 29 May 2024 00:54:14 +0000 (08:54 +0800)
Backport #31143 by @HorlogeSkynet

---

(fix up for #31003)

Co-authored-by: Samuel FORESTIER <HorlogeSkynet@users.noreply.github.com>
docs/content/administration/reverse-proxies.en-us.md

index 5fbd0eb0b73d3d6d34fae55cd36e92df3c8cb582..dff58c10eb712977ddbbefb65131d1336e84524a 100644 (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>
 ```