Changes between Version 1 and Version 2 of faq/shared-varnish-server
- Timestamp:
- Apr 1, 2012, 3:52:45 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
faq/shared-varnish-server
v1 v2 26 26 === For Drupal === 27 27 * Drupal 6 requires the [http://pressflow.org/ Pressflow] distribution. 28 * Drupal 7 should work fine using the standard MF/PL web app. 28 * Drupal 7: According to [http://blogs.osuosl.org/gchaix/2011/01/05/drupal-7-varnish/ Propeller-heads Unite!], you may need to add the following to your settings.php file: 29 {{{ 30 # Tell Drupal it's behind a proxy 31 $conf['reverse_proxy'] = TRUE; 32 # Tell Drupal what addresses the proxy server(s) use 33 $conf['reverse_proxy_addresses'] = array('209.51.180.234'); 34 }}} 35 36 Additionally, the [https://drupal.org/project/varnish Drupal varnish plugin] provides added functionality. 29 37 30 38 === Wordpress === 31 39 You shouldn't need to take any special steps for wordpress caching. Though please make sure to turn off W3 Total Cache before using our shared varnish server. 40 41 === Testing === 42 To see if Varnis is working, type your domain into the [http://www.isvarnishworking.com/ Is Varnish Working site]. 32 43 33 44 == Support Team ==