]> git.kaiwu.me - njs.git/commit
Modules: introduced global nginx properties.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 18 May 2023 04:16:19 +0000 (21:16 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 18 May 2023 04:16:19 +0000 (21:16 -0700)
commitf9a606f7df6442a8793b8c58205062b8fc735e33
treed27a35e57c16b06b62e09eed3c49cc327e459eb5
parentbd1cd5c6a10558f31ea2cf8f06f2f6bb64b192de
Modules: introduced global nginx properties.

The following properties were introduced:
    ngx.build - an optional nginx build name, corresponds to
        --build=name argument of configure script, by default is "".
    ngx.conf_file_path - the file path to current nginx configuration
        file.
    ngx.error_log_path - the file path to current error log file.
    ngx.prefix - the directory that keeps server files.
    ngx.version - the nginx version as a string, for example: "1.25.0".
    ngx.version_number - the nginx version as a number, for example:
        1025000.
nginx/ngx_js.c