February 2018
Beginner to intermediate
348 pages
9h 40m
English
Nginx lets you access client request headers in the form of variables that you will be able to employ later on in the configuration:
|
Variable |
Description |
|
$http_host |
Value of the Host HTTP header, a string indicating the hostname that the client is trying to reach. |
|
$http_user_agent |
Value of the User-Agent HTTP header, a string indicating the web browser of the client. |
|
$http_referer |
Value of the Referer HTTP header, a string indicating the URL of the previous page from which the client comes. |
|
$http_via |
Value of the Via HTTP header, which informs us about possible proxies used by the client. |
|
$http_x_forwarded_for |
Value of the X-Forwarded-For HTTP header, which shows the actual IP address ... |
Read now
Unlock full access