Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [buildout]
- parts +=
- varnish-build
- varnish-configuration
- varnish-script
- [ports]
- varnish = 5484
- [versions]
- plone.recipe.varnish = 6.0.0b1
- zc.recipe.cmmi = 3.0.0
- [varnish-build]
- recipe = plone.recipe.varnish:build
- [varnish-configuration]
- recipe = plone.recipe.varnish:configuration
- # UNCOMMENT THE SELECTED OPTION: directly to Zope or to HAProxy
- # If you choose HAProxy, you also need to check HAProxy configuration.
- # e.g.: extend from haproxy.cfg and enable parts in your buildout.cfg
- # When redirecting traffic directly to Zope
- balancer = round_robin
- # When redirecting traffic directly to HAProxy
- backends = 127.0.0.1:${ports:haproxy}
- cookie-whitelist =
- statusmessages
- __ac
- _ZopeId
- __cp
- ulma_catalogue_download_ok
- hide_country_version
- [varnish-script]
- recipe = plone.recipe.varnish:script
- bind = 127.0.0.1:${ports:varnish}
- cache-size = 512M
- mode = foreground
- cache-type = file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement