How to setup nginx varnish apache on a CentOS

This small script does install all necessary parts to get nginx, varnish and apache running on your CentOS: yum install screen sysstat net-snmp htop rpm –nosignature -i http://repo.varnish-cache.org/redhat/el5/noarch/varnish-release-2.1-2.noarch.rpm yum install...

Varnish – blast your wordpress off the ground

This is my varnish configuration, which enhances the wordpress blogs: backend default { .host = “localhost”; .port = “81”; # This need to be the same as the Apache vHost port listener! } acl purge { “localhost”; } sub vcl_recv { if...
NVA setup – nginx varnish apache

NVA setup – nginx varnish apache

The running WordPress blogs on a well known domain is slow, if you don’t optimize for speed. As the requests are going through the full LAMP stack, caching stuff is the first stop. Second I don’t use apache as primary delivery webserver, I use nginx to do...

Switched to nginx varnish apache

Today I switched from the normal LAMP stack to the NVA Nginx Varnish Apache stack. Tweaks needed are the following in PHP: if (IsSet($_SERVER[‘HTTP_X_REAL_IP’])) { $_SERVER[‘REMOTE_ADDR’] = $_SERVER[‘HTTP_X_REAL_IP’]; } and setting...