Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REMOTE_ADDR is not the remote address when CiviProxy is installed behind a reverse proxy server #61

Open
Mediwe opened this issue Aug 25, 2022 · 0 comments

Comments

@Mediwe
Copy link

Mediwe commented Aug 25, 2022

When CiviProxy is installed behind a reverse proxy server, $_SERVER variables are filled in differently:

'HTTP_X_FORWARDED_FOR' contains the original remote address
'REMOTE_ADDR' contains the IP address of the reverse proxy server

It should be usefull if one could define n the config file which element should be used to check the remote address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant