Skip to content

Commit

Permalink
adjust apache reverse proxy docs to set x-real-ip
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>
  • Loading branch information
szaimen committed May 23, 2024
1 parent 9bd7706 commit a6d2b90
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 a6d2b90

Please sign in to comment.