debug = ngx.config.debug //标识nginx是不是debug build prefix = ngx.config.prefix() //nginx "prefix"路径 ver = ngx.config.nginx_version str = ngx.config.nginx_configure() //返回编译时./configure的参数 ver = ngx.config.ngx_lua_version exiting = ngx.worker.exiting() //boolean值表示是否...
ngx.config.ngx_lua_version #当前ngx_lua模块的版本号 ngx.config.nginx_version #nginx版本 ngx.worker.exiting #当前worker进程是否正在关闭 ngx.worker.pid #当前worker进程的PID ngx.config.nginx_configure #编译时的.configure命令选项 ngx.config.prefix #编译时的prefix选项 core constans: #ngx_lua核心常量...
coroutine.status ngx.config.debug 编译时是否有 --with-debug选项 ngx.config.prefix 编译时的 --prefix选项 ngx.config.nginx_version 返回nginx版本号 ngx.config.nginx_configure 返回编译时 ./configure的命令行选项 ngx.config.ngx_lua_version 返回ngx_lua模块版本号 ngx.worker.exiting 当前worker进程是否正在...
configure arguments:--prefix=/usr/local/nginx --user=www --group=www --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_stub_status_module --with-http_gzip_static_module --with-pcre --with-stream --with-stream_ssl_module --with-stream_realip_module ...
./configure --prefix=/usr/local/pcre --enable-utf8 --enable-pcregrep-libbz2 --enable-pcregrep-libz make && make install 3.2:安装ngx_openresty tar -xvf ngx_openresty-1.4.3.6.tar.gz cd ngx_openresty-1.4.3.6 ./configure --user=www --group=www --prefix=/usr/local/ --with-pcre --use...
Config example nginx tcp core module, for tcp stream server tcp{#connection_pool_size 1k; #main/srv/take one/default 0.5ksession_pool_size1k;#main/srv/take one/default 1kclient_max_body_size1k;#main/srv/take one/default 1k;read_timeout60s;#main/srv/take one/default 60s#send_timeout ...
{ prefix: 'custom', separator: '.', caseSensitive:true })//)// The config allows to configure the prefix, the separator and the caseSensitive option used by the library// Default values:// prefix: "ngx-webstorage"// separator: "|"// caseSensitive: false]bootstrap:[...]})export...
Theconfigmethod works like aconfigHook(see above). To use a plugin, point to it's JavaScript representation (not the TypeScript file) using the--pluginswitch: ng build --plugin ~dist\out-tsc\hook\plugin The prefix~points to the current directory. Without this prefix, ngx-build-plus assume...
--prefix=/usr/local/php \ --with-config-file-path=/etc \ --enable-fpm \ --with-fpm-user=nginx \ --with-fpm-group=nginx \ --enable-inline-optimization \ --disable-debug \ --disable-rpath \ --enable-shared \ --enable-soap \ ...
#bin/openresty -vnginx version: openresty/1.11.2.2#bin/openresty -Vnginx version: openresty/1.11.2.2 built by clang 8.0.0 (clang-800.0.42.1) built with OpenSSL 1.0.2k 26 Jan 2017 TLS SNI support enabled configure arguments: --prefix=/data0/openresty/nginx --with-cc-opt='-O2 -I/usr/lo...