HTTP variables

$realpath_root variable (HTTP)

Absolute resolved form of the active root or alias, following symbolic links. Distinguish it from the request filename; resolving paths does not itself enforce access control. Version: Introduction not established. OSS documentation; verify build. No positional directive arguments. Example is a partial configuration fragment for a disposable synthetic lab; not a production logging policy.

Formal Syntax & Structure

nginx syntaxnginx
$realpath_root

Working Example

Example Snippetnginx
# Partial http-context example: map a synthetic value to a presence flag, never log the raw value.map $realpath_root $lab_present {    "" 0;    default 1;}
Nginx Reference