Last active
July 3, 2017 08:56
-
-
Save loru88/2c5b3a8dfda3d7d1083061cf9ceeb2b5 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
#log varnish request by host | |
$ varnishlog -c -m RxHeader:"Host: host.it" | |
# cancellare cache per un host | |
$ ssh {varnish IP} # indirizzo del server varnish | |
$ varnishadm | |
$ ban req.http.host == "leads.omniauto.it" | |
$ quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment