Problem for IP
Posted: Mon Apr 20, 2020 3:07 am
Hello, its my firt post.
I have vestacp installed on ubuntu 18.04. Apache web server and nginx proxie.
the problem is that when installing OVH ssl all the ip have the address of my VPS.
I have done the ipremote configuration.
Create the /etc/apache2/conf-available/remoteip.conf
Then replace the %h variables with %a in the LogFormat directives of the Apache configuration.
And restart de apache.
I did not have any change, the ips keep giving me those of my vps.
Do I have to do another configuration?
thanks
I have vestacp installed on ubuntu 18.04. Apache web server and nginx proxie.
the problem is that when installing OVH ssl all the ip have the address of my VPS.
I have done the ipremote configuration.
Create the /etc/apache2/conf-available/remoteip.conf
Code: Select all
RemoteIPHeader X-Forwarded-For
RemoteIPInternalProxy 213.32.4.0/24
Then replace the %h variables with %a in the LogFormat directives of the Apache configuration.
Code: Select all
a2enmod remoteip
a2enconf remoteip
I did not have any change, the ips keep giving me those of my vps.
Do I have to do another configuration?
thanks