Advertisement
Guest User

Untitled

a guest
Apr 13th, 2020
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. [buildout]
  2. parts +=
  3. varnish-build
  4. varnish-configuration
  5. varnish-script
  6.  
  7.  
  8. [ports]
  9. varnish = 5484
  10.  
  11. [versions]
  12. plone.recipe.varnish = 6.0.0b1
  13. zc.recipe.cmmi = 3.0.0
  14.  
  15.  
  16. [varnish-build]
  17. recipe = plone.recipe.varnish:build
  18.  
  19. [varnish-configuration]
  20. recipe = plone.recipe.varnish:configuration
  21. # UNCOMMENT THE SELECTED OPTION: directly to Zope or to HAProxy
  22. # If you choose HAProxy, you also need to check HAProxy configuration.
  23. # e.g.: extend from haproxy.cfg and enable parts in your buildout.cfg
  24. # When redirecting traffic directly to Zope
  25.  
  26. balancer = round_robin
  27. # When redirecting traffic directly to HAProxy
  28. backends = 127.0.0.1:${ports:haproxy}
  29.  
  30. cookie-whitelist =
  31. statusmessages
  32. __ac
  33. _ZopeId
  34. __cp
  35. ulma_catalogue_download_ok
  36. hide_country_version
  37.  
  38. [varnish-script]
  39. recipe = plone.recipe.varnish:script
  40. bind = 127.0.0.1:${ports:varnish}
  41. cache-size = 512M
  42. mode = foreground
  43. cache-type = file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement