Common Built-in Variables in the Nginx HTTP Module

Common Built-in Variables in the Nginx HTTP Module

Server Related $server_addr: Server address $server_name: Virtual host name (configured by the server_name directive) $server_port: Server port $document_root: Path configured by the root or alias command, which may be a symbolic link. $realpath_root: The actual path corresponding to the current request, absolute path. $request_filename: The file path of the current request, derived from the configuration … Read more