Chapter 10. Case Studies
The chapters you have read until now have introduced the many facets of Nginx, from static web page serving to advanced features such as load balancing. You have learned to set up Nginx on your server and to configure it to fit the needs of your websites; you've also discovered the numerous advanced modules, bringing forth complex functionality.
We will now make use of the knowledge acquired so far by studying a couple of real-life examples: first, we will set up a complete WordPress site from scratch, approaching all aspects of the configuration, including optimization and caching. We will then enable HTTPS support as well as HTTP/2, and discover how to handle clients that visit your website from a mobile device.
The last part of the chapter will be dedicated to setting up ownCloud—an open source solution that allows you to store documents on your server and retrieve them from a variety of platforms. We will also secure access to your ownCloud drive by setting up...