Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Problem for IP

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
cifu
Posts: 2
Joined: Sat Apr 18, 2020 2:48 pm

Os: Ubuntu 17x
Web: apache + nginx
Problem for IP
  • Quote

Post by cifu » 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

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
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
Top

George441
Posts: 20
Joined: Tue Jan 21, 2020 2:31 pm
Contact:
Contact George441
Website

Os: CentOS 4x
Web: apache + nginx
Re: Problem for IP
  • Quote

Post by George441 » Thu Apr 23, 2020 12:21 pm

Please check this post. I hope this might help you
viewtopic.php?t=7147
And let us know if the problem solved.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password