1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-02 08:57:32 -04:00

Remove duplicate ProxyPreserveHost in Apache httpd doc (#31143)

---

(fix up for #31003)
This commit is contained in:
Samuel FORESTIER 2024-05-29 00:35:21 +00:00 committed by GitHub
parent 207c0c6c92
commit c93cbc991e
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 ProxyRequests off
AllowEncodedSlashes NoDecode AllowEncodedSlashes NoDecode
ProxyPass / http://localhost:3000/ nocanon ProxyPass / http://localhost:3000/ nocanon
ProxyPreserveHost On
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME} RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
</VirtualHost> </VirtualHost>
``` ```