Search found 5 matches
- 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. ...
- 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...
- 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:
and edit the "LANGUAGE" line:
Code: Select all
/usr/local/vesta/conf/vesta.conf
Code: Select all
LANGUAGE='en'
- 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...
- 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....