Book Image

Nginx Essentials

By : Valery Kholodkov, Valery I Kholodkov
Book Image

Nginx Essentials

By: Valery Kholodkov, Valery I Kholodkov

Overview of this book

Table of Contents (13 chapters)

Chapter 4. Rewrite Engine and Access Control

The World Wide Web and HTTP as its building block operate in URLs. Since URLs are so fundamental, the ability of a server to manipulate URLs is essential.

Nginx allows you to manipulate URLs using a built-in rewrite engine. The Nginx rewrite engine has a broad functionality and is very easy to configure, which makes it a very powerful tool. We'll walk through the entire rewrite engine in this chapter.

Another topic that we are going to explore in this chapter is access control. This is, obviously, an essential function of every software system that keeps the system secure and reliable. We'll walk through access control methods available in Nginx and explore their subtleties, and you'll learn how to combine them.