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

Server IP Address Showing In _SERVER["REMOTE_ADDR"]. Is this OK? #50

Open
flashery opened this issue Apr 13, 2017 · 0 comments
Open

Server IP Address Showing In _SERVER["REMOTE_ADDR"]. Is this OK? #50

flashery opened this issue Apr 13, 2017 · 0 comments

Comments

@flashery
Copy link

flashery commented Apr 13, 2017

I am currently setting up a nginx proxy for apache2 in digital ocean. I am not really a System Admin but I followed this tutorial https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-as-a-web-server-and-reverse-proxy-for-apache-on-one-ubuntu-14-04-droplet. He said that "The REMOTE_ADDR variable will now also be that of your local computer's public IP address",

Here is my rpaf.conf

<IfModule mod_rpaf.c>
        RPAF_Enable             On
        RPAF_Header             X-Real-Ip
        RPAF_ProxyIPs           127.0.0.1 10.0.0.0/24
        RPAF_SetHostName        On
        RPAF_SetHTTPS           On
        RPAF_SetPort            On
</IfModule>

However, It's the server IP address showing on REMOTE_ADDR. Is this OK?

@flashery flashery changed the title Server IP Address Showing _SERVER["REMOTE_ADDR"]. Is this OK? Server IP Address Showing In _SERVER["REMOTE_ADDR"]. Is this OK? Apr 13, 2017
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