Varnish sample vcl for rtmp / m3u8 stream Rumi, March 18, 2023 vcl 4.0; import std; backend default { .host = “127.0.0.1”; .port = “8090”; } acl purge { “127.0.0.1”; } sub vcl_recv { if(req.method == “PURGE”){ if (!client.ip ~ purge) { return(synth(405,”Not allowed.”)); } return (purge); } return (hash); } sub vcl_backend_response { if (bereq.url ~ “m3u8”) { # assuming chunks… Continue Reading
Varnish daemon not listening on configured port – Hack for Debian or Ubuntu Rumi, August 9, 2018 If you’re already troubled with varnish on changing listening ports from default. Here’s a little hack that worked on my Debian and Ubuntu distribution. sudo apt remove varnish sudo apt-get purge varnish # I manually remove the 3 files in created in /etc/systemd/system/* sudo apt install varnish sudo nano /lib/systemd/system/varnish.service… Continue Reading
Install Varnish on Debian 8 Rumi, March 12, 2018March 12, 2018 We are going to install the latest version of varnish which is 5.2 at the time of writing. In order to install the latest version, we have to download the source and compile it. You have to install some dependencies to compile the Varnish: apt-get install make automake autotools-dev libedit-dev libjemalloc-dev… Continue Reading
Install And Configure Varnish Cache With Apache On Debian 7 Rumi, April 19, 2017 Varnish Cache is a web accelerator, sometimes referred to as a HTTP accelerator or a reverse HTTP proxy, that will significantly enhance your web performance. Varnish speeds up a website by storing a copy of the page served by the web server the first time a user visits that page. The… Continue Reading
Install Varnish Cache On Debian 7 Rumi, November 6, 2016 Normally Varnish Cache is available on Debian default repositories. But i suggest you to use Varnish Cache repositories to get latest version of Varnish Cache. Run the following commands as root user to install Varnish Cache. # curl http://repo.varnish-cache.org/debian/GPG-key.txt | apt-key add – # echo “deb http://repo.varnish-cache.org/debian/ wheezy varnish-3.0” >>… Continue Reading
Varnish Nagios Plugin Rumi, September 24, 2013 Install To use this plugin you need to have varnishstat installed which is installed by default when you install varnish. Perl is also required for this plugin. If you don’t have Perl installed you can install in by running the command below sudo apt-get install perl or sudo yum install… Continue Reading
pressflow varnish installation and configuration Rumi, March 24, 2013March 24, 2013 Installation Varnish is the key software that speeds up your web site. It is Open Source, built on industry standards and requires very few resources. Varnish is distributed in the EPEL (Extra Packages for Enterprise Linux) package repositories. However, while EPEL allows new versions to be distributed, it does not… Continue Reading
Mercury on Ubuntu 10.04 (Lucid) Rumi, December 22, 2012December 22, 2012 This high performance Drupal system is based on the work of Project Mercury. Project Mercury aims to increase the performance and ability of Drupal powered websites to respond to increased load. This document leverages the same collection of popular open source tools including the Varnish Accelerating Proxy, the APC bytecode… Continue Reading
Install Varnish on CentOS/RedHat/SL 5 or 6 Rumi, December 5, 2012December 5, 2012 Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. It is installed in front of the web application and it speeds up the web application significantly. Since varnish is not available in CentOS repo, you have to add the EPEL repo. However Varnish suggests… Continue Reading
Putting Varnish In Front Of Apache On Ubuntu/Debian Rumi, March 22, 2012 Varnish is an open source "web accelerator" which you can use to speed up your website. It can cache certain static elements, such as images or javascript but you can also use it for other purposes such as Loadbalancing or some additional security. In this tutorial we will focus… Continue Reading