Skip to content

Commit

Permalink
Merge pull request #4696 from nextcloud/enh/noid/apache-real-ip
Browse files Browse the repository at this point in the history
adjust apache reverse proxy docs to set x-real-ip
  • Loading branch information
szaimen authored May 23, 2024
2 parents 9bd7706 + a6d2b90 commit 8650974
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reverse-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8650974

Please sign in to comment.