Configuration
(Redirected from NginxConfiguration)
[edit] Start Here
[edit] Reference
- Phases that nginx goes through to handle an HTTP request
- List of core configuration directives
- List of all directives
[edit] 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
- Running TYPO3 4.6 On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.10
- How To Set Up SSL Vhosts Under Nginx + SNI Support (Ubuntu 11.04/Debian Squeeze)
- ownCloud3 On Nginx (On Debian Squeeze/Ubuntu 11.10)
[edit] Applications
- Alkaline
- BruisedFruit
- Chive
- CMS Made Simple
- Dokuwiki
- Drupal
- Elgg
- iRedMail
- Joomla
- MediaWiki
- Magento
- Mailman
- MTbot
- MyBB
- Omeka
- osCommerce
- OSTicket
- phpBB3
- PHPList
- Piwik
- Pyrocms
- Redmine
- SilverStripe
- SPIP
- Symfony Framework example
- Wordpress
- Xenforo
- Zend Framework
- ZenPhoto
[edit] CGI
- Fcgiwrap - FastCGI Wrapper to serve CGI
- Thttpd - Proxying to thttpd to serve CGI
- Proxying to uWSGI to serve CGI
- Serving CGI Scripts With Nginx On Debian Squeeze/Ubuntu 11.04
[edit] 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)
[edit] PHP via FastCGI
- PHP/FastCGI Example
- PHP in nginx on OS X
- php-cgi on Windows
- ExpressionEngine
- PHP-FPM HTTPS/SSL environment tips
- PHP-FPM/Nginx Security In Shared Hosting Environments (Debian/Ubuntu)
[edit] Python via FastCGI
[edit] Python via Passenger
[edit] Python via uWSGI
[edit] 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
[edit] Rewrite examples
- A Hack for having multiple if conditions on a rewrite
- Serving an iPhone website with nginx
- Referrer Spam Blocking
- Prestashop Rewrites
[edit] Browser module examples
[edit] 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
- vhost config creator automatically generates a new Nginx vhost and an associated system user and web directory (bash script)
[edit] Mail examples
[edit] Logging
- Disable the errorlog entries caused by the HW-Loadbalancer
- Separate error logs per virtual host, a feature not supported by lighttpd
[edit] Other features
- X-Sendfile (=> X-Accel-Redirect) in Nginx
- Nginx/OpenBSD 4.1
- Log Rotation
- Memcache-Preload (experimental)
[edit] 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









