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...