Client's IP-address
Posted: Sun Mar 03, 2019 11:38 am
Hi,
I have a nginx - apache setup. Server is behind a firewall with an internal IP-address.
When I look at apache logs all requests are coming from servers internal IP-address, I guess from Nginx.
So far it hasn't been a problem, but if I try to enable IP based protection in for example WordPress it doesn't of course work.
Looking at Nginxs logs it shows requests coming from firewalls IP-address. In Vesta I have the servers internal IP-address and also the NAT address.
My guess is that Nginx needs to configured, but does anybody know how?
Another questions is about the link to Phpmyadmin found in Vesta. It points to servers internal IP-address, anyone knows how to get it to point towards either the external IP-address or an domainname?
Kenneth
I have a nginx - apache setup. Server is behind a firewall with an internal IP-address.
When I look at apache logs all requests are coming from servers internal IP-address, I guess from Nginx.
So far it hasn't been a problem, but if I try to enable IP based protection in for example WordPress it doesn't of course work.
Looking at Nginxs logs it shows requests coming from firewalls IP-address. In Vesta I have the servers internal IP-address and also the NAT address.
My guess is that Nginx needs to configured, but does anybody know how?
Another questions is about the link to Phpmyadmin found in Vesta. It points to servers internal IP-address, anyone knows how to get it to point towards either the external IP-address or an domainname?
Kenneth