doc: documented the new ngx.config.nginx_configure() function.
This commit is contained in:
Родитель
1916d0c2fd
Коммит
48af6433b6
|
@ -172,6 +172,7 @@ Table of Contents
|
|||
* [ngx.config.debug](#ngxconfigdebug)
|
||||
* [ngx.config.prefix](#ngxconfigprefix)
|
||||
* [ngx.config.nginx_version](#ngxconfignginx_version)
|
||||
* [ngx.config.nginx_configure](#ngxconfignginx_configure)
|
||||
* [ngx.config.ngx_lua_version](#ngxconfigngx_lua_version)
|
||||
* [ngx.worker.exiting](#ngxworkerexiting)
|
||||
* [ngx.worker.pid](#ngxworkerpid)
|
||||
|
@ -5791,6 +5792,19 @@ This API was first introduced in the `0.9.3` release.
|
|||
|
||||
[Back to TOC](#table-of-contents)
|
||||
|
||||
ngx.config.nginx_configure
|
||||
--------------------------
|
||||
|
||||
**syntax:** *str = ngx.config.nginx_configure()*
|
||||
|
||||
**context:** *set_by_lua*, rewrite_by_lua*, access_by_lua*, content_by_lua*, header_filter_by_lua*, body_filter_by_lua*, log_by_lua*, ngx.timer.*, init_by_lua**
|
||||
|
||||
This function returns a string for the NGINX `./configure` command's arguments string.
|
||||
|
||||
This API was first introduced in the `0.9.5` release.
|
||||
|
||||
[Back to TOC](#table-of-contents)
|
||||
|
||||
ngx.config.ngx_lua_version
|
||||
--------------------------
|
||||
|
||||
|
|
|
@ -4917,6 +4917,16 @@ This field take an integral value indicating the version number of the current N
|
|||
|
||||
This API was first introduced in the <code>0.9.3</code> release.
|
||||
|
||||
== ngx.config.nginx_configure ==
|
||||
|
||||
'''syntax:''' ''str = ngx.config.nginx_configure()''
|
||||
|
||||
'''context:''' ''set_by_lua*, rewrite_by_lua*, access_by_lua*, content_by_lua*, header_filter_by_lua*, body_filter_by_lua*, log_by_lua*, ngx.timer.*, init_by_lua*''
|
||||
|
||||
This function returns a string for the NGINX <code>./configure</code> command's arguments string.
|
||||
|
||||
This API was first introduced in the <code>0.9.5</code> release.
|
||||
|
||||
== ngx.config.ngx_lua_version ==
|
||||
|
||||
'''syntax:''' ''ver = ngx.config.ngx_lua_version''
|
||||
|
|
Загрузка…
Ссылка в новой задаче