さくらVPSのUbuntuサーバにVarnishを導入してみた。 こちらを参考に。 Putting Varnish In Front Of Apache On Ubuntu/Debian インストールはこれだけ # apt-get install varnish ただ、 80ポート:varnish -> 8000ポート:apache というようにしたい。 なので設定。 まずはvarnishを80ポートに変更 /etc/default/varnishを編集 DAEMON_OPTS="-a :80 \ -T localhost:6082 \ -f /etc/varnish/default.vcl \ -S /etc/varnish/secret \ -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G" 80ポートで待ち受けて