Vesta Control Panel - Forum

Community Forum

Skip to content

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

Search found 5 matches

Go to advanced search

Advanced search
Search found 5 matches • Page 1 of 1
by injeckt
Mon Jul 20, 2015 12:45 pm
Forum: General Discussion
Topic: Bad IP Detection
Replies: 3
Views: 4334

Re: Bad IP Detection

I bet you have Ubuntu as the OS. https://forum.vestacp.com/viewtopic.php?f=11&t=5786 I opened a thread a while ago about this. It seems that the version of Apache for Ubuntu has a bug and does not change the original IP address of the client in the HTTP header to go through the reverse proxy NGINX. ...
  • Jump to post
by injeckt
Sat Nov 22, 2014 7:33 pm
Forum: Web Server
Topic: Real IP with/through NGINX reverse proxy
Replies: 3
Views: 5287

Re: Real IP with/through NGINX reverse proxy

I still have the same problem. The only solution I've found, example for WordPress, is adding: if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ips = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']); $_SERVER['REMOTE_ADDR'] = $ips[0]; } in a functions.php file. Is there any solution to this? I still do...
  • Jump to post
by injeckt
Sat Nov 22, 2014 7:09 pm
Forum: General Discussion
Topic: Change default language
Replies: 1
Views: 4428

Re: Change default language

I think it can be changed in the following file:

Code: Select all

/usr/local/vesta/conf/vesta.conf
and edit the "LANGUAGE" line:

Code: Select all

LANGUAGE='en'
  • Jump to post
by injeckt
Thu Sep 11, 2014 10:42 am
Forum: Web Server
Topic: Real IP with/through NGINX reverse proxy
Replies: 3
Views: 5287

Re: Real IP with/through NGINX reverse proxy

I found a guide that may be useful. http://thejoyofstick.com/blog/2013/04/11/how-to-get-the-original-ip-address-in-apache2-behind-nginx/ Yes, I have tried to do just that, but I see is configured in VestaCP by default, but I dont know because it doesn't works correctly. I dont know if it is a bug o...
  • Jump to post
by injeckt
Mon Sep 08, 2014 3:01 pm
Forum: Web Server
Topic: Real IP with/through NGINX reverse proxy
Replies: 3
Views: 5287

Real IP with/through NGINX reverse proxy

Hi there. I've been using VestaCP since not long ago and have found that neither the forum or CMS register the real IP of my visitors. I wonder how to register the real IP of my visitors and not the IP of the server itself (the same with NGINX reverse proxy and Apache). I have installed version 0.9....
  • Jump to post

Search found 5 matches • Page 1 of 1

Go to advanced search



  • 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