This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Varnish 4.0 configuration for Craft | |
# | |
# Based on the following: | |
# - https://github.com/mattiasgeniar/varnish-4.0-configuration-templates/blob/master/default.vcl | |
# - https://gist.github.com/aelvan/eba03969f91c1bd51c40 | |
vcl 4.0; | |
import std; | |
import directors; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Varnish 4.0 file for our Craft CMS projects | |
# Based on https://github.com/mattiasgeniar/varnish-4.0-configuration-templates/blob/master/default.vcl | |
# | |
# This is still work in progress, comments appreciated. | |
vcl 4.0; | |
# Default backend definition. Set this to point to your content server. | |
backend default { | |
.host = "127.0.0.1"; |