Help us understand the problem. What is going on with this article?

varnish_運用コマンド

More than 5 years have passed since last update.

varnishこまんど

## 構文check
varnishd -C -f /tmp/test.vcl 

## clientとのやり取りのlog
varnishlog -C 
### よくこれでStatusだけcheckしたりしてる
varnishlog -C | grep Status

## backendとのやり取りのlog
varnishlog -b  

varnishadm

## 認証でコケたら
varnishadm -T localhost:6082 -S /etc/varnish/secret

## なにつかえるのん
varnishadm help

## 現在アクティブなconfig
varnishadm vcl.list | awk ' /^active/ { print $3 } '

curl

## キャッシュパージ
curl -X PURGE http://localhost/hogehoge.png

## 全部のキャッシュパージ
varnishadm "ban.url .*"
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away