Configuration
Start Here
Reference
Full examples
- Full Example
- Full Example (taken from Nginx site)
- Virtual Hosts
- Dynamic SSI
- PHP, Wordpress and Drupal Configuration Examples
- Wordpress Caching (W3TC, WPSC) tests and examples with Nginx
Applications
- BruisedFruit
- Chive
- Dokuwiki
- Drupal
- Elgg
- iRedMail
- Joomla
- MediaWiki
- Magento
- Mailman
- MTbot
- MyBB
- osCommerce
- OSTicket
- phpBB3
- Piwik
- Pyrocms
- Redmine
- SilverStripe
- SPIP
- Symfony Framework example
- Wordpress
- Xenforo
- Zend Framework
- ZenPhoto
CGI
FastCGI examples
- Simple CGI
- Ruby CGI
- Catalyst
- Mono Server (ASP.NET)
- FCGI::Async module for Perl
- POE::Component::FastCGI module for Perl
- Javascript V8CGI
- Perl FastCGI How To
- Non-root web path (in Apache-compatible way)
PHP via FastCGI
Python via FastCGI
Python via Passenger
Python via uWSGI
Proxying examples
- Load Balancing Example
- Proxying to Turbogears
- Ruby on Rails / Mongrel
- Nginx as a Proxy to Nagios
- Java servers like Jetty, GlassFish and Tomcat
- WSUS Proxy example
- Nginx solution for Apache ProxyPassReverse
- SSL-Offloading with Nginx
- Reverse Proxy with caching
Rewrite examples
- A Hack for having multiple if conditions on a rewrite
- Serving an iPhone website with nginx
- Referrer Spam Blocking
- Prestashop Rewrites
Browser module examples
Tools
- Nginx vhost config generator for Ubuntu (bash script)
- nginx_config_generator for Rails (Ruby gem)
- nginx.vim (config syntax highlighting for Vim)
- Init.d boot-up script for Linux (Original message (imo))
- Capistrano automatic generation of Nginx & Mongrel configuration for VHosts
- htpasswd.py - Don't have Apache installed? You can use this tool to generate/manage your htpasswd files.
- Script for enabling/disabling virtual hosts easily - It mimics the Debian (and Ubuntu) a2ensite/a2dissite but for nginx: nginx_ensite/nginx_dissite.
- MNPP - Mac + Nginx + Percona + PHP or Python A high performance web server in a one-click installer
Mail examples
Logging
- Disable the errorlog entries caused by the HW-Loadbalancer
- Separate error logs per virtual host, a feature not supported by lighttpd
Other features
- X-Sendfile (=> X-Accel-Redirect) in Nginx
- Nginx/OpenBSD 4.1
- Log Rotation
- Memcache-Preload (experimental)
Embedded Perl examples
- Using the Embedded Perl to resize images
- Using the Embedded Perl to minify javascript files
- Using the Embedded Perl to minify css files
- Using Perl to serve searchengine sitemaps
- Using the Nginx::Simple Perl module