Example VCL file for Varnish and Bakery to play nice

Created on 9 February 2016, over 9 years ago
Updated 15 May 2025, 2 days ago

It's varnish 3.x config but you need to allow the CHOCOLATECHIP cookie to pass through or you'll constantly receive the bakery/login access denied error.
Here's an example VCL that I put together that bypasses requests that have Bakery cookies in them.
https://github.com/elmsln/elmsln/blob/master/scripts/server/varnish.txt

Might be nice to throw a notice in the README.txt about Bakery needing to be specifically accounted for in Varnish VCL config

💬 Support request
Status

Closed: outdated

Version

2.0

Component

Documentation

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024