Support » Plugin: Proxy Cache Purge » Set Varnish IP in wp-config on Multisite.

  • Resolved egroj55



    On a multisite I get this text:

    you should define your Varnish IP directly into your wp-config file for best results.

    But I don’t know how to set it. E.g in Drupal:

    $settings['reverse_proxy'] = TRUE;
    $settings['reverse_proxy_addresses'] = [
      '', // The internal IP of Varnish in the cluster.

    How do I set the IP in WordPress. I believe it works without this, but I just want to make sure.

    BR, Jorge

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Oh, I found this:

    On single-site, you can edit this via the Varnish > Check Caching page. On Multisite, you’ll need to add the following to your wp-config.php file: define('VHP_VARNISH_IP','');

    Should I add my internal IP to varnish like this?

    Plugin Author Ipstenu (Mika Epstein)


    🏳️‍🌈 Plugin Review Team Rep

    Yes 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Set Varnish IP in wp-config on Multisite.’ is closed to new replies.