I can't connect to the control terminal, whatever I try.
- I installed latest varnish on Ubuntu 8.04 as per http://www.varnish-cache.org/installation/ubuntu
- I followed these instructions and VCL example, http://groups.drupal.org/pantheon/mercurywiki
- I applied this little patch, http://drupal.org/node/808314
- PHP has sockets support enabled
In settings.php I put within $conf = array():
'reverse_proxy' => TRUE,
'reverse_proxy_addresses' => array('127.0.0.1'),
Drupal cache is set to external, on Pressflow of course.
But the varnish module status is always:
The Varnish control terminal is not responding at 127.0.0.1 on port 6082.
And in watchdog I always see:
Varnish: Authentication to server failed!
Varnish: Recieved status code 101 running "". Full response text: Unknown request. Type 'help' for more info.
Comments
Comment #1
Anonymous (not verified) commentedAh... varnish installs a "secret" file in /etc/varnish/secret. And you need to past that file's content into Drupal.
Works as designed.
Comment #2
techgirlgeek commentedThank you, this was just the details I needed.
Comment #3
jras commentedYes, and for those of you out there that are still scratching your heads, this means to capture the line inside of the "secret" file @/etc/varnish/secret, then paste that line into the "Varnish Control Key" field on the Varnish module configuration page. After this, all is made right with the world.