Archive for the tag 'nginx'

new ebuild for Nginx

Unlike Apache httpd server Nginx has no ebuilds which let you select which modules you want to have installed with it. Yet.

On last Saturday I have written an eclass to simplify maintaining Nginx ebuilds and added a new Portage variable NGINX_MODULES to USE_EXPAND. In other words, from that on you can select Nginx modules like for Apache. As an example, Read more »

rewriting URLs for using a CDN for your Wordpress blog

A lot has been written about Wordpress tuning. Unfortunately utilizing CDNs with Wordpress is despite a few plugins still fiddly and requires modifications to themes, links and the such. Yet even a lot of plugins don’t correctly link to their JS files, resulting plugins such as My-CDN not being able to rewrite all links.

Therefore I have written a plugin to hook a rewriter into PHPs ob_start(). Without going further into technical detail, it lets you use a CDN for your Wordpress blog within minutes.

Download the “OSSDL CDN off-linker” here: Wordpress Plugin page.

Read more »

how to use nginx to create static files from dynamic content

Serving static files is much faster than that of dynamic content – even if some parts of it are stored by memcached or assembled by the help of means such as varnish.

Here is how to utilize nginx proxy module to cache outputs as static files. For example for your old (read-only) wiki pages, trac documentation or even old wordpress blog posts. An example for the latter: Read more »