mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-23 02:20:42 +08:00
Backport #31143 by @HorlogeSkynet --- (fix up for #31003) Co-authored-by: Samuel FORESTIER <HorlogeSkynet@users.noreply.github.com>
This commit is contained in:
parent
b615a59db8
commit
9c93c6249c
|
@ -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>
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user