mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-21 17:08:43 +03:00
Backport #31143 by @HorlogeSkynet --- (fix up for #31003) Co-authored-by: Samuel FORESTIER <HorlogeSkynet@users.noreply.github.com>
This commit is contained in:
@ -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>
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user