Varnish

From Biowikifarm Metawiki
Revision as of 17:04, 22 April 2016 by WikiSysop (Talk | contribs) (Created page with "Test installation of Varnish - with MobileFrontend the FileCache will no longer work! sudo curl http://repo.varnish-cache.org/debian/GPG-key.txt | sudo apt-key add - sudo n...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Test installation of Varnish - with MobileFrontend the FileCache will no longer work!

sudo curl http://repo.varnish-cache.org/debian/GPG-key.txt | sudo apt-key add -
sudo nano /etc/apt/sources.list
# add: deb http://repo.varnish-cache.org/ubuntu/ lucid varnish-3.0
sudo apt-get update; sudo apt-get install varnish
# check: (first setup: 8080 is varnish, 80 remains nginx, later switch)
sudo nano /etc/default/varnish
sudo nano /etc/varnish/default.vcl
# nginx remained unchanged for the moment!


check on console with

varnishstat


perhaps - not yet used - see http://lautr.com/setup-varnish-with-existing-nginx-site-on-debian