From 9c93c6249ca8421d489acac75f39e6acbbcca16a Mon Sep 17 00:00:00 2001 From: Giteabot Date: Wed, 29 May 2024 08:54:14 +0800 Subject: [PATCH] Remove duplicate `ProxyPreserveHost` in Apache httpd doc (#31143) (#31147) Backport #31143 by @HorlogeSkynet --- (fix up for #31003) Co-authored-by: Samuel FORESTIER --- docs/content/administration/reverse-proxies.en-us.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/content/administration/reverse-proxies.en-us.md b/docs/content/administration/reverse-proxies.en-us.md index 5fbd0eb0b7..dff58c10eb 100644 --- a/docs/content/administration/reverse-proxies.en-us.md +++ b/docs/content/administration/reverse-proxies.en-us.md @@ -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} ```