OS Manuals

/usr/bin/resty

compat package with iamguarded image

From apache-apisix-iamguarded-compat 3.19.0-r5 (enterprise-packages), captured 2026-11-08 by running resty --help (exit 0). permalink

resty [options] [lua-file [args]]

Options:
    -c NUM              Set maximal connection count (default: 64).
    -e PROG             Run the inlined Lua code in "prog".

    --errlog-level LEVEL
                        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".

    --load-module MOD   Specifies nginx module wanted to be loaded.
                        (multiple instances are supported).

    --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.

    --dump-nginx-conf   Print the generated nginx configuration file,
                        without running nginx not the Lua code.

    --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.
Options (24)
OptionDescriptionSource
-c NUMSet maximal connection count (default: 64).help
-e PROGRun the inlined Lua code in "prog".help
--errlog-level LEVELSet nginx error_log level.help
--gdbUse GDB to run the underlying nginx C process.help
--gdb-opts OPTSPass extra command-line options to GDB.help
--helpPrint this help.help
--http-conf CONFSpecifies nginx.conf snippet inserted into the http {} configuration block (multiple instances are supported).help
-I DIRAdd dir to the search paths for Lua libraries.help
-j dumpUse LuaJIT's jit.dump module to output detailed info of the traces generated by the JIT compiler.help
-l LIBRequire library "lib".help
--load-module MODSpecifies nginx module wanted to be loaded.help
--main-conf CONFSpecifies nginx.conf snippet inserted into the nginx main {} configuration block (multiple instances are supported).help
--nginxSpecify the nginx path (this option might be removed in the future).help
--no-streamDisable the stream {} configuration in auto-generated nginx.conf.help
--ns IPSpecify a custom name server (multiple instances are supported).help
--resolve-ipv6Make the nginx resolver lookup both IPv4 and IPv6 addresses.help
--rrUse Mozilla rr to record the execution of the underlying nginx C process.help
--stapUse sysetmtap to run the underlying nginx C process.help
--stap-opts OPTSPass extra systemtap command line options.help
--user-runner CMDUse CMD as user runner for the underlying nginx process.help
-VPrint version numbers and nginx configurations.help
--dump-nginx-confPrint the generated nginx configuration file, without running nginx not the Lua code.help
--valgrindUse valgrind to run nginx.help
--valgrind-opts OPTSPass extra options to valgrind.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.