Changes between Version 5 and Version 6 of faq/shared-varnish-server
- Timestamp:
- May 1, 2012, 8:49:56 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
faq/shared-varnish-server
v5 v6 34 34 }}} 35 35 36 You may also want these additional variables set from [https://drupal.org/node/1196916#comment-4655090 drupal.org] 37 38 {{{ 39 $conf['page_cache_invoke_hooks'] = false; 40 $conf['cache'] = 1; 41 $conf['cache_lifetime'] = 0; 42 $conf['page_cache_maximum_age'] = 21600; 43 $conf['reverse_proxy_header'] = 'HTTP_X_FORWARDED_FOR'; 44 $conf['omit_vary_cookie'] = true; 45 }}} 46 36 47 Additionally, the [https://drupal.org/project/varnish Drupal varnish plugin] provides added functionality. 37 48 … … 45 56 Our current varnish server is `dolores.mayfirst.org`. A support team member needs to make the following configuration changes for each new hosting order. If you need these changes made and you aren't a member of the support team, please [/newticket open a new ticket explaining what you need to happen]. 46 57 58 '''NOTE:''' The below instructions are not quite correct, will be updated soon. 59 47 60 * Create a new vcl file for the domain, i.e. `/etc/varnish/vhosts/domain-name.vcl` 48 61 * Copy the format of a current vcl file, depending on the CMS.