Created
April 3, 2018 16:26
-
-
Save scottalan/69bd497bcf59755dbc5be543692c5b78 to your computer and use it in GitHub Desktop.
Varnish
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 v4.0 | |
# Clear varnish cache | |
varnishadm "ban req.url ~ .*" | |
# Example debug for vcl file | |
std.log("X-AH-Redirect is: " + X-AH-Redirect); | |
# Tail logs for any debug lines in a VCL | |
varnishlog -i VCL_Log | |
# Push logs into a file | |
varnishlog -i VCL_Log > logs.txt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment