mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-09-21 15:26:16 +08:00
Merge pull request #4696 from nextcloud/enh/noid/apache-real-ip
adjust apache reverse proxy docs to set x-real-ip
This commit is contained in:
commit
86509742db
|
@ -82,6 +82,7 @@ Add this as a new Apache site config:
|
|||
# Reverse proxy based on https://httpd.apache.org/docs/current/mod/mod_proxy_wstunnel.html
|
||||
RewriteEngine On
|
||||
ProxyPreserveHost On
|
||||
RequestHeader set X-Real-IP %{REMOTE_ADDR}s
|
||||
AllowEncodedSlashes NoDecode
|
||||
|
||||
ProxyPass / http://localhost:11000/ nocanon
|
||||
|
|
Loading…
Reference in a new issue