From 77a48f4130999a2a4e85865e81047e03a3c5e827 Mon Sep 17 00:00:00 2001 From: jlecour Date: Fri, 9 Sep 2022 14:34:02 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20d'un=20autre=20exemple=20de=20requ?= =?UTF-8?q?=C3=AAte=20varnishlog=20multiple?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoVarnish.md | 1 + 1 file changed, 1 insertion(+) diff --git a/HowtoVarnish.md b/HowtoVarnish.md index 480c0bc4..76e83e6f 100644 --- a/HowtoVarnish.md +++ b/HowtoVarnish.md @@ -118,6 +118,7 @@ Des filtres peuvent être appliqués sur ces commandes, voici des exemples prati ~~~ # varnishlog -q 'TxHeader eq MISS' -q "ReqHeader ~ '^Host: example\.com$'" |grep RxURL +# varnishlog -q "ReqHeader:host ~ '^example\.com$' and ReqHeader:X-Forwarded-For ~ '1\.2\.3\.4' and RespHeader:X-Cache eq MISS" # varnishncsa -q "ReqHeader eq 'X-Cache: MISS'" ~~~