text stringlengths 0 834k |
|---|
Set nginx error_log level. |
Can be debug, info, notice, warn, error, crit, alert, |
or emerg. |
--gdb Use GDB to run the underlying nginx C process. |
--gdb-opts OPTS Pass extra command-line options to GDB. |
--help Print this help. |
--http-conf CONF Specifies nginx.conf snippet inserted into the http {} |
configuration block (multiple instances are supported). |
--http-include PATH Include the specified file in the nginx http |
configuration block (multiple instances are supported). |
-I DIR Add dir to the search paths for Lua libraries. |
-j dump Use LuaJIT's jit.dump module to output detailed info of |
the traces generated by the JIT compiler. |
-j off Turn off the LuaJIT JIT compiler. |
-j v Use LuaJIT's jit.v module to output brief info of the |
traces generated by the JIT compiler. |
-l LIB Require library ""lib"". |
--main-conf CONF Specifies nginx.conf snippet inserted into the nginx |
main {} configuration block (multiple instances are |
supported). |
--main-include PATH Include the specified file in the nginx main |
configuration block (multiple instances are supported). |
--nginx Specify the nginx path (this option might be removed |
in the future). |
--no-stream Disable the stream {} configuration in auto-generated |
nginx.conf. |
--ns IP Specify a custom name server (multiple instances are |
supported). |
--resolve-ipv6 Make the nginx resolver lookup both IPv4 and IPv6 |
addresses. |
--rr Use Mozilla rr to record the execution of the |
underlying nginx C process. |
--shdict 'NAME SIZE' |
Create the specified lua shared dicts in the http |
configuration block (multiple instances are supported). |
--stap |
Use sysetmtap to run the underlying nginx C process. |
--stap-opts OPTS |
Pass extra systemtap command line options. |
--user-runner CMD Use CMD as user runner for the underlying nginx process. |
-V Print version numbers and nginx configurations. |
--valgrind Use valgrind to run nginx. |
--valgrind-opts OPTS |
Pass extra options to valgrind. |
For bug reporting instructions, please see: |
<https://openresty.org/en/community.html> |
Copyright (C) Yichun Zhang (agentzh). All rights reserved. |
_EOC_ |
if ($rc == 0) { |
print $msg; |
exit(0); |
} |
warn $msg; |
exit($rc); |
} |
sub get_bracket_level { |
my %bracket_levels; |
my $bracket_level = 0; |
my $max_level = 0; |
# scan all args and store level of closing brackets |
for my $arg (@_) { |
while ($arg =~ /\](=*)\]/g) { |
my $level = length($1); |
if ($level > $max_level) { |
$max_level = $level; |
} |
$bracket_levels{$level} = 1; |
} |
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.