FAQ

Page Discussion History

Difference between revisions of "Configuration"

m (Full examples)
 
(28 intermediate revisions by 12 users not shown)
Line 1: Line 1:
 
= Start Here =
 
= Start Here =
 
 
* [[GettingStarted|Getting Started with Nginx]]
 
* [[GettingStarted|Getting Started with Nginx]]
* [http://blog.martinfjordvald.com/2010/07/nginx-primer/ An introduction to Nginx configuration]
+
* [http://blog.martinfjordvald.com/2010/07/nginx-primer/ Nginx Configuration Primer] by Martin Fjordvald
 
* [http://wiki.nginx.org/Pitfalls Common Configuration Pitfalls]
 
* [http://wiki.nginx.org/Pitfalls Common Configuration Pitfalls]
 
* [http://michael.lustfield.net/content/dummies-guide-nginx Guide to the most common web stack with Nginx]
 
* [http://michael.lustfield.net/content/dummies-guide-nginx Guide to the most common web stack with Nginx]
 +
* [http://www.aosabook.org/en/nginx.html Nginx-Intro]: nice writeup on nginx-architecture from "The Architecture of Open Source Applications  II"
  
 
= Reference =
 
= Reference =
Line 18: Line 18:
 
* [[ServerBlockExample| Server Blocks (Virtual Hosts)]]
 
* [[ServerBlockExample| Server Blocks (Virtual Hosts)]]
 
* [[DynamicSSIExample| Dynamic SSI]]
 
* [[DynamicSSIExample| Dynamic SSI]]
* [http://kbeezie.com/nginx-configuration-examples/ PHP, Wordpress, Drupal and NibbleBlog Configuration Examples]
+
* [http://www.phoenixvps.com/guides/2013/04/nginx-configuration-examples PHP, Wordpress, Drupal and NibbleBlog Configuration Examples]
 
* [http://kbeezie.com/caching-wordpress/ Wordpress Caching (W3TC, WPSC) tests and examples with Nginx]
 
* [http://kbeezie.com/caching-wordpress/ Wordpress Caching (W3TC, WPSC) tests and examples with Nginx]
 
* [http://www.howtoforge.com/running-typo3-4.6-on-nginx-lemp-on-debian-squeeze-ubuntu-11.10 Running TYPO3 4.6 On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.10]
 
* [http://www.howtoforge.com/running-typo3-4.6-on-nginx-lemp-on-debian-squeeze-ubuntu-11.10 Running TYPO3 4.6 On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.10]
 
* [http://www.howtoforge.com/how-to-set-up-ssl-vhosts-under-nginx-plus-sni-support-ubuntu-11.04-debian-squeeze How To Set Up SSL Vhosts Under Nginx + SNI Support (Ubuntu 11.04/Debian Squeeze)]
 
* [http://www.howtoforge.com/how-to-set-up-ssl-vhosts-under-nginx-plus-sni-support-ubuntu-11.04-debian-squeeze How To Set Up SSL Vhosts Under Nginx + SNI Support (Ubuntu 11.04/Debian Squeeze)]
 
* [http://www.howtoforge.com/running-owncloud3-on-nginx-lemp-on-debian-squeeze-ubuntu-11.10 ownCloud3 On Nginx (On Debian Squeeze/Ubuntu 11.10)]
 
* [http://www.howtoforge.com/running-owncloud3-on-nginx-lemp-on-debian-squeeze-ubuntu-11.10 ownCloud3 On Nginx (On Debian Squeeze/Ubuntu 11.10)]
 +
* [http://www.howtoforge.com/running-owncloud-5.0-on-nginx-lemp-on-debian-wheezy ownCloud 5.0 On Nginx (LEMP) On Debian Wheezy]
 +
* [http://www.howtoforge.com/perfect-server-debian-wheezy-nginx-bind-dovecot-ispconfig-3 ISPConfig Control Panel + nginx on Debian Wheezy]
 
* [http://www.howtoforge.com/perfect-server-ubuntu-11.10-with-nginx-ispconfig-3 ISPConfig Control Panel + nginx on Ubuntu 11.10]
 
* [http://www.howtoforge.com/perfect-server-ubuntu-11.10-with-nginx-ispconfig-3 ISPConfig Control Panel + nginx on Ubuntu 11.10]
 
* [http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-nginx-bind-dovecot-ispconfig-3 ISPConfig Control Panel + nginx on Ubuntu 12.04 LTS]
 
* [http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-nginx-bind-dovecot-ispconfig-3 ISPConfig Control Panel + nginx on Ubuntu 12.04 LTS]
 +
* [http://www.binarytides.com/install-nginx-php-fpm-mariadb-debian/ Setup Nginx + php-FPM + apc + MariaDB on Debian 7]
 +
* [http://www.mare-system.de/guide-to-nginx-ssl-spdy-hsts/ Guide to Nginx + SSL + SPDY]
 +
* [http://www.binarytides.com/install-nginx-php-fpm-centos/ Install Nginx + Php FPM + APC on CentOS 6.4]
 +
* [http://www.howtoforge.com/displaying-upload-progress-with-nginx-on-debian-wheezy Displaying Upload Progress With nginx On Debian Wheezy]
  
 
= Applications =
 
= Applications =
  
 +
* [http://www.howtoforge.com/running-activecollab-3-on-nginx-lemp-on-debian-wheezy-ubuntu-12.10 activeCollab]
 
* [[Alkaline]]
 
* [[Alkaline]]
 
* [[BruisedFruit]]
 
* [[BruisedFruit]]
Line 34: Line 41:
 
* [[Codeigniter]]
 
* [[Codeigniter]]
 
* [http://www.howtoforge.com/running-contao-2.10.2-on-nginx-lemp-on-debian-squeeze-ubuntu-11.10 Contao]
 
* [http://www.howtoforge.com/running-contao-2.10.2-on-nginx-lemp-on-debian-squeeze-ubuntu-11.10 Contao]
 +
* [http://www.howtoforge.com/running-cs-cart-on-nginx-lemp-on-debian-wheezy-ubuntu-13.04 CS-Cart]
 
* [[Dokuwiki]]
 
* [[Dokuwiki]]
 
* [[Drupal]]
 
* [[Drupal]]
Line 41: Line 49:
 
* [[iRedMail]]
 
* [[iRedMail]]
 
* [[Joomla]]
 
* [[Joomla]]
* [[MediaWiki]]
+
* [[Kohana]]
 
* [[Magento]]
 
* [[Magento]]
 
* [[Mailman]]
 
* [[Mailman]]
 +
* [[MediaWiki]]
 
* [[MoinMoin]]
 
* [[MoinMoin]]
 
* [[MTbot]]
 
* [[MTbot]]
Line 50: Line 59:
 
* [[OsCommerce|osCommerce]]
 
* [[OsCommerce|osCommerce]]
 
* [[OSTicket]]
 
* [[OSTicket]]
* [http://www.howtoforge.com/running-owncloud3-on-nginx-lemp-on-debian-squeeze-ubuntu-11.10 ownCloud]
+
* [http://www.howtoforge.com/running-owncloud-5.0-on-nginx-lemp-on-debian-wheezy ownCloud]
 
* [http://www.howtoforge.com/running-oxid-eshop-community-edition-version-4.5.9-on-nginx-lemp-on-debian-squeeze-ubuntu-11.10 OXID eShop]
 
* [http://www.howtoforge.com/running-oxid-eshop-community-edition-version-4.5.9-on-nginx-lemp-on-debian-squeeze-ubuntu-11.10 OXID eShop]
 
* [https://raw.github.com/phpbb/phpbb3/master/phpBB/docs/nginx.sample.conf phpBB3]
 
* [https://raw.github.com/phpbb/phpbb3/master/phpBB/docs/nginx.sample.conf phpBB3]
 
* [[PHPList]]
 
* [[PHPList]]
 
* [[Piwik]]
 
* [[Piwik]]
 +
* [http://www.howtoforge.com/running-prestashop-1.5.x-on-nginx-lemp-on-debian-wheezy-ubuntu-12.10 PrestaShop 1.5.x]
 +
* [http://www.howtoforge.com/running-processwire-on-nginx-lemp-on-debian-wheezy-ubuntu-13.04 ProcessWire]
 
* [[Pyrocms]]
 
* [[Pyrocms]]
 
* [[Qwebirc]]
 
* [[Qwebirc]]
 +
* [http://www.howtoforge.com/running-redaxo-4.4.x-on-nginx-lemp-on-debian-wheezy-ubuntu-12.10 Redaxo]
 
* [[Redmine]]
 
* [[Redmine]]
 
* [http://www.howtoforge.com/running-roundcube-0.7.1-on-nginx-lemp-on-debian-squeeze-ubuntu-11.10 RoundCube]
 
* [http://www.howtoforge.com/running-roundcube-0.7.1-on-nginx-lemp-on-debian-squeeze-ubuntu-11.10 RoundCube]
Line 67: Line 79:
 
* [[Symfony| Symfony Framework example]]
 
* [[Symfony| Symfony Framework example]]
 
* [http://www.howtoforge.com/running-typo3-4.6-on-nginx-lemp-on-debian-squeeze-ubuntu-11.10 TYPO3]
 
* [http://www.howtoforge.com/running-typo3-4.6-on-nginx-lemp-on-debian-squeeze-ubuntu-11.10 TYPO3]
 +
* [http://www.howtoforge.com/running-typo3-6.2-on-nginx-lemp-on-debian-wheezy-ubuntu-13.10 TYPO3 6.2]
 +
* [http://www.aiguarentacar.it/aiguarent]
 
* [[Wordpress]]
 
* [[Wordpress]]
 
* [[XpressEngine]]
 
* [[XpressEngine]]
 
* [[Xenforo]]
 
* [[Xenforo]]
 +
* [[Yii]]
 
* [[Zend Framework]]
 
* [[Zend Framework]]
 
* [[ZenPhoto]]
 
* [[ZenPhoto]]
Line 127: Line 142:
  
 
* [[LoadBalanceExample| Load Balancing Example]]  
 
* [[LoadBalanceExample| Load Balancing Example]]  
 +
* [http://blog.jsdelivr.com/2013/01/nginx-load-balancing-basics.html Load Balancing Basics]
 
* [[TurboGearsProxy| Proxying to Turbogears]]  
 
* [[TurboGearsProxy| Proxying to Turbogears]]  
 
* [[RubyonRailsMongrel| Ruby on Rails / Mongrel]]  
 
* [[RubyonRailsMongrel| Ruby on Rails / Mongrel]]  
Line 149: Line 165:
 
= Tools =
 
= Tools =
  
 +
* [https://timmehosting.de/htaccess-converter .htaccess Converter]: a tool for converting .htaccess files to nginx configuration (in alpha stage).
 +
* [http://www.ispconfig.org ISPConfig]: Open Source control panel with support for nginx.
 
* [http://winginx.com WiNGiNX ] : NGiNX + PHP + Node.js + MySQL + MongoDB stack for Windows
 
* [http://winginx.com WiNGiNX ] : NGiNX + PHP + Node.js + MySQL + MongoDB stack for Windows
 
* [https://bitbucket.org/intel352/nginx-vhost Nginx vhost config generator]  for Ubuntu (bash script)
 
* [https://bitbucket.org/intel352/nginx-vhost Nginx vhost config generator]  for Ubuntu (bash script)
Line 188: Line 206:
  
 
= External Resources =
 
= External Resources =
 
+
* [http://www.nginx-hosting.co.uk/qanda/ Nginx Questions & Answers]: Ask a question and get an answer
 
* [http://pentropy.twisty-industries.com/post/by_tag/19 Cliff Wells' Blog]
 
* [http://pentropy.twisty-industries.com/post/by_tag/19 Cliff Wells' Blog]
 
* [http://profarius.com/ MTecknologys' Blog]
 
* [http://profarius.com/ MTecknologys' Blog]

Latest revision as of 16:15, 17 April 2014

Contents

Start Here

Reference

Full examples

Applications

CGI

FastCGI examples

PHP via FastCGI

Python via FastCGI

Ruby via Passenger

Python via Passenger

Python via uWSGI

Proxying examples

Rewrite examples

Browser module examples

Tools

Mail examples

Logging

Other features

Embedded Perl examples

External Resources

Installation