Varnish on FreeBSD, quick start guide

“It’s two in the morning and someone posted a link to your website on slashdot. Don’t panic, it takes only a minute to set up Varnish in front of your web server”:

1) Install Varnish – /usr/ports/www/varnish && make install
2) Reconfigure your web server(httpd.conf) to Listen 8080 (remember changing httpd-vhosts.conf if you use it)
3) echo ‘varnishd_enable=”YES”‘ >>/etc/rc.conf
4) /usr/local/etc/rc.d/varnishd start

 

This entry was posted in UNIX. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *