O'Reilly logo

Nginx 1 Web Server Implementation Cookbook by Dipankar Sarkar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1. The Core HTTP Module

In this chapter, we will cover:

  • Installing new modules and compiling Nginx
  • Running Nginx in debug mode
  • Easy reloading of Nginx using the CLI
  • Splitting configuration files for better management
  • Setting up multiple virtual hosts
  • Setting up a default catch-all virtual host
  • Using wildcards in virtual hosts
  • Setting up the number of worker processes correctly
  • Increasing the size of uploaded files
  • Using dynamic SSI for simple sites
  • Adding content before and after a particular page
  • Enabling auto indexing of a directory
  • Serving any random web page from a directory
  • Serving cookies for identifying and logging users
  • Re-encoding the response to another encoding
  • Enabling Gzip compression on some content types
  • Setting up 404 and other error pages ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required