Migrating from Apache to nginx: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hendrik Brummermann No edit summary |
imported>Hendrik Brummermann No edit summary |
||
| (19 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
* IPv4 and IPv6 |
* IPv4 and IPv6 |
||
* http and https |
* http and https |
||
* a huge number of URL rewriting rules is used by the Stendhal Webframework |
|||
* logfiles for each combination of website, protocol, day |
* logfiles for each combination of website, protocol, day |
||
* PHP5 with APC |
* PHP5 with APC |
||
| Line 22: | Line 23: | ||
* [http://kovyrin.net/2010/01/16/enabling-ipv6-support-in-nginx/ IPv6 configuration] Ubuntu package supports IPv6 without recompilation |
* [http://kovyrin.net/2010/01/16/enabling-ipv6-support-in-nginx/ IPv6 configuration] Ubuntu package supports IPv6 without recompilation |
||
* [http://wiki.nginx.org/HttpSslModule SSL configuration]. Important: Intermediate certificates have to be concatenated into the server certificate file. |
* [http://wiki.nginx.org/HttpSslModule SSL configuration]. Important: Intermediate certificates have to be concatenated into the server certificate file. |
||
* [http://nginx.org/en/docs/http/converting_rewrite_rules.html Converting Rewriting Rules], [http://wiki.nginx.org/HttpRewriteModule rewriting configuration] |
|||
* [http://serverfault.com/questions/65118/proper-way-to-rotate-nginx-logs log-rotation configuration] |
|||
* [http://interfacelab.com/nginx-php-fpm-apc-awesome/ PHP-FPM configuration] |
|||
Latest revision as of 18:35, 30 December 2012
On this page we will prepare the migration from Apache to nginx.
We will start with gathering our requirements and use-cases. Then we will look at nginx to see whether they can be fulfilled and how it is done.
Requirements
Hard Requirements
- hosting multiple websites using IP-based virtual hosting
- IPv4 and IPv6
- http and https
- a huge number of URL rewriting rules is used by the Stendhal Webframework
- logfiles for each combination of website, protocol, day
- PHP5 with APC
- Proxy-Support for Jenkins
Soft Requirements
- SPDY-support
nginx Configuration
- IPv6 configuration Ubuntu package supports IPv6 without recompilation
- SSL configuration. Important: Intermediate certificates have to be concatenated into the server certificate file.
- Converting Rewriting Rules, rewriting configuration
- log-rotation configuration
- PHP-FPM configuration