Nginx
Variables API Reference
Built-in Nginx variables exposing request and connection properties usable in directives.
By EZ4Code Team
Variables
Commonly used built-in variables available in the http context.
$hostLowercase host name from the request line, or Host header, or server name matched.
Returns: string
$request_uriFull original request URI including query string, unmodified.
Returns: string
$remote_addrClient IP address of the connection.
Returns: string
$args | $query_stringFull query string from the request line; identical values.
Returns: string
$schemeRequest scheme: http or https.
Returns: string
$http_<name>Value of the request header whose lowercased name with dashes replaced by underscores is <name>.
Returns: string