Website's access log shows Varnish server's IP address instead of real IP address

Created:

2017-05-09 16:51:04 UTC

Modified:

2017-08-16 17:09:01 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Website's access log shows Varnish server's IP address instead of real IP address

Applicable to:

  • Plesk for Linux

Symptoms

  • Varnish cache server is used as a cache server for websites located on Plesk server.

  • Varnish is installed on a non-Plesk server.

  • Website's access log shows IP address of the Varnish server instead of the real IP address.

Cause

Varnish server is not configured properly.

Resolution

Contact the system administrator to fix the issue on the Varnish server side.

The following link may be helpful:

https://codepoets.co.uk/2012/fixing-remote_addr-when-behind-a-proxyvarnish-server/

Have more questions? Submit a request
Please sign in to leave a comment.