comparison xml/en/docs/njs/reference.xml @ 2910:5f1d472f6a97

Documented ngx.conf_prefix property in njs Reference.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 17 Nov 2022 18:24:58 +0000
parents 4aaab86a9c26
children 3be061a0941a
comparison
equal deleted inserted replaced
2909:1a91221b2901 2910:5f1d472f6a97
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd">
8 8
9 <article name="Reference" 9 <article name="Reference"
10 link="/en/docs/njs/reference.html" 10 link="/en/docs/njs/reference.html"
11 lang="en" 11 lang="en"
12 rev="92"> 12 rev="93">
13 13
14 <section id="summary"> 14 <section id="summary">
15 15
16 <para> 16 <para>
17 <link doc="index.xml">njs</link> provides objects, methods and properties 17 <link doc="index.xml">njs</link> provides objects, methods and properties
991 <para> 991 <para>
992 The <literal>ngx</literal> global object is available 992 The <literal>ngx</literal> global object is available
993 since <link doc="changes.xml" id="njs0.5.0">0.5.0</link>. 993 since <link doc="changes.xml" id="njs0.5.0">0.5.0</link>.
994 <list type="tag"> 994 <list type="tag">
995 995
996 <tag-name id="ngx_conf_prefix"><literal>ngx.conf_prefix</literal></tag-name>
997 <tag-desc>
998 a string containing the file path to
999 <link doc="../configure.xml" id="prefix">nginx configuration prefix</link>&mdash;
1000 the directory where nginx is currently looking for configuration
1001 (<link doc="changes.xml" id="njs0.7.8">0.7.8</link>)
1002 </tag-desc>
1003
996 <tag-name id="ngx_fetch"><literal>ngx.fetch(<value>url</value>, 1004 <tag-name id="ngx_fetch"><literal>ngx.fetch(<value>url</value>,
997 [<value>options</value>])</literal></tag-name> 1005 [<value>options</value>])</literal></tag-name>
998 <tag-desc> 1006 <tag-desc>
999 Makes a request to fetch an URL 1007 Makes a request to fetch an URL
1000 (<link doc="changes.xml" id="njs0.5.1">0.5.1</link>), 1008 (<link doc="changes.xml" id="njs0.5.1">0.5.1</link>),