mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
adjust apache reverse proxy docs to set x-real-ip
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
9bd7706ac7
commit
a6d2b908f5
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
# Reverse proxy based on https://httpd.apache.org/docs/current/mod/mod_proxy_wstunnel.html
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
|
RequestHeader set X-Real-IP %{REMOTE_ADDR}s
|
||||||
AllowEncodedSlashes NoDecode
|
AllowEncodedSlashes NoDecode
|
||||||
|
|
||||||
ProxyPass / http://localhost:11000/ nocanon
|
ProxyPass / http://localhost:11000/ nocanon
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue