Skip to content

Instantly share code, notes, and snippets.

View rfxn's full-sized avatar

Ryan MacDonald rfxn

View GitHub Profile
@rfxn
rfxn / magento.vcl
Created March 8, 2019 19:33 — forked from dvershinin/magento.vcl
Magento 2 VCL file for Varnish: supports multiple stores better, allows purging arbitrary URLs
vcl 4.0;
import std;
# The minimal Varnish version is 4.0
# For SSL offloading, pass the following header in your proxy server or load balancer: 'X-Forwarded-Proto: https'
backend default {
.host = "localhost";
.port = "8080";
}

Keybase proof

I hereby claim:

  • I am rfxn on github.
  • I am rfxn (https://keybase.io/rfxn) on keybase.
  • I have a public key whose fingerprint is 673A DFEE 3315 FCC1 BE79 4A2A 308C 7B72 BCE9 B14F

To claim this, I am signing this object: