• Resolved egroj55

    (@egroj55)


    Hi,

    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'] = [
      '10.10.10.10', // 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)
  • Thread Starter egroj55

    (@egroj55)

    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','123.45.67.89');

    Should I add my internal IP to varnish like this?

    Plugin Contributor Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    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.