Nginx学习之六:Nginx配置操作导航

从这里开始

  • Getting Started with Nginx

  • An introduction to Nginx configuration

  • Common Configuration Pitfalls

  • Guide to the most common web stack with Nginx

参考

  • Phases that nginx goes through to handle an HTTP request

  • List of core configuration directives

  • List of all directives

完整示例

  • Full Example

  • Full Example (taken from Nginx site)

  • Server Blocks (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)

  • ISPConfig Control Panel + nginx on Ubuntu 11.10

  • ISPConfig Control Panel + nginx on Ubuntu 12.04 LTS

应用

  • Alkaline

  • BruisedFruit

  • Chive

  • CMS Made Simple

  • Codeigniter

  • Contao

  • Dokuwiki

  • Drupal

  • Elgg

  • Feng Office

  • Icinga

  • iRedMail

  • Joomla

  • MediaWiki

  • Magento

  • Mailman

  • MoinMoin

  • MTbot

  • MyBB

  • Omeka

  • osCommerce

  • OSTicket

  • ownCloud

  • OXID eShop

  • phpBB3

  • PHPList

  • Piwik

  • Pyrocms

  • Qwebirc

  • Redmine

  • RoundCube

  • Shopware 3.5.6

  • Shopware 4.0.x

  • SilverStripe

  • Simple Groupware

  • SPIP

  • SugarCRM

  • Symfony Framework example

  • TYPO3

  • Wordpress

  • XpressEngine

  • Xenforo

  • Zend Framework

  • ZenPhoto

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

FastCGI示例

  • Simple CGI

  • Ruby CGI

  • Catalyst

  • Mono Server (ASP.NET)

  • FCGI::Async module for Perl

  • POE::Component::FastCGI module for Perl

  • Perl FastCGI How To

  • Non-root web path (in Apache-compatible way)

通过 FastCGI 使用 PHP

  • 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)

  • PHP-FPM/Nginx - virtual host and PHP-FPM pool setup script (bash)

通过 FastCGI 使用 Python

  • Python CGI

  • Python via Flup on Ubuntu

  • Turbogears

  • Django

  • Django/CherryPy

  • Pylons

  • Zope

通过 Passenger 使用 Ruby

  • Phusion Passenger users guide, Nginx version

通过 Passenger 使用 Python

  • Running Python on Nginx with Passenger

通过 uWSGI 使用 Python

  • Multiple uWSGI apps from a single upstream

  • Deploying Circuits.web with Nginx and uWSGI

代理示例

  • 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 示例

  • A Hack for having multiple if conditions on a rewrite

  • Serving an iPhone website with nginx

  • Referrer Spam Blocking

  • Prestashop Rewrites

Browser 模块示例

  • LimitBrowsers

工具

  • WiNGiNX  : NGiNX + PHP + Node.js + MySQL + MongoDB stack for Windows

  • 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)

邮件示例

  • IMAP/POP3 Proxy Example

  • IMAP authenticated with a PHP script

  • IMAP authenticated with embedded Perl

日志

  • Disable the errorlog entries caused by the HW-Loadbalancer

  • Separate error logs per virtual host, a feature not supported by lighttpd

其他特性

  • X-Sendfile (=> X-Accel-Redirect) in Nginx

  • Nginx/OpenBSD 4.1

  • Log Rotation

  • Memcache-Preload (experimental)

  • How To Block Visitors By Country With The GeoIP Module (Debian/Ubuntu)

Perl 内嵌示例

  • 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

外部资源

  • Cliff Wells' Blog

  • MTecknologys' Blog

  • brainspl.at

  • TYPO3, nginx and memcache

  • Configuring Your LEMP System (Linux, nginx, MySQL, PHP-FPM) For Maximum Performance

安装

  • Init Scripts

  • Installing on Solaris

  • Installing on OpenSolaris

  • FreeBSD Optimizations

From : http://wiki.nginx.org/ConfigurationChs

你可能感兴趣的:(nginx,configuration)