Migrating from Apache to nginx
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
- 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.