Changes between Version 5 and Version 6 of faq/shared-varnish-server


Ignore:
Timestamp:
May 1, 2012, 4:49:56 PM (8 years ago)
Author:
Ross
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • faq/shared-varnish-server

    v5 v6  
    3434}}}
    3535
     36You 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
    3647Additionally, the [https://drupal.org/project/varnish Drupal varnish plugin] provides added functionality.
    3748
     
    4556Our 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].
    4657
     58'''NOTE:''' The below instructions are not quite correct, will be updated soon.
     59
    4760 * Create a new vcl file for the domain, i.e. `/etc/varnish/vhosts/domain-name.vcl`
    4861 * Copy the format of a current vcl file, depending on the CMS.