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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.