Skip to content

Instantly share code, notes, and snippets.

View LCTL's full-sized avatar
🏠
Working from home

Lawrence Cheung LCTL

🏠
Working from home
View GitHub Profile
@matthewjackowski
matthewjackowski / wordpress.vcl
Last active December 27, 2022 02:56
Varnish 4 VCL configuration for WordPress. Also allows purging
# A heavily customized VCL to support WordPress
# Some items of note:
# Supports https
# Supports admin cookies for wp-admin
# Caches everything
# Support for custom error html page
vcl 4.0;
import directors;
import std;