by mat brandy | Sep 22, 2011 | Linux
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...
by mat brandy | Sep 22, 2011 | Linux, Persönliches
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...
by mat brandy | Jun 13, 2011 | Linux
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...
Recent Comments