Skip navigation

Category Archives: Nginx

Here’s a nice post on setting up Nginx with PHP-FPM, Xcache on Debian Etch.

Read More »

Deki Wiki is cool but Apache is really too bloated.

Here’s how to get it working on Nginx Ubuntu.

Read More »

Here’s a quick set up for Google App Engine’s SDK on Nginx.

Read More »

Nginx combined with WP Super Cache for WordPress Mu is an interesting idea. However, you can potentially set up a simpler, and superior caching system using internal Nginx features that replaces the need for Super Cache.

Read More »

Update: Do not use this config for php.  Instead use php-fpm with xcache or apc.

To configure Nginx to load balance multiple FastCgi servers use this type of configuration:

upstream servercom {
server 127.0.0.1:44440;
server 127.0.0.1:44441;
server 127.0.0.1:44442;
server 127.0.0.1:44443;
server 127.0.0.1:44444;
}

location ~ \.php$ {
fastcgi_pass servercom;
fastcgi_index stream.app;
fastcgi_param SCRIPT_FILENAME /var/www/htdocs$fastcgi_script_name;
include /etc/nginx/fastcgi.conf;
}

Read More »

“The plain HTTP request was sent to HTTPS port” is an Nginx error you can some times get when using applications that are set to redirect to https.

Read More »