The proxy module

The following table summarizes some of the commonly used directives in the proxy module:

The proxy module directives

Explanation

proxy_connect_timeout

This directive specifies the maximum amount of time NGINX will wait for its connection to be accepted when making a request to an upstream server.

proxy_cookie_domain

This directive replaces the domain attribute of the Set-Cookie header from the upstream server; the domain to be replaced can either be a string, a regular expression, or a reference variable.

proxy_cookie_path

This directive replaces the path attribute of the Set-Cookie header from the upstream server; the path to be replaced can either be a string, a regular expression, or a reference variable.

proxy_headers_hash_bucket_size ...

Get Mastering NGINX - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.