UWSGI_LUAJIT(1)

โœจ NAME โœจ

uwsgi_luajit โ€” the fast (pure C), self-healing, developer-friendly WSGI server ๐Ÿ’–


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

uwsgi-core [options...]

๐Ÿ’… DESCRIPTION ๐Ÿ’…

okay bestie, gather round, because this is the whole menu of flags and it is a lot. every single one is here, no skips, no cap. let's go ๐Ÿซถ

  • -s, --socket โ€” bind to the specified UNIX/TCP socket using the default protocol ๐ŸŒธ
  • -s, --uwsgi-socket โ€” bind to the specified UNIX/TCP socket using the uwsgi protocol
  • --suwsgi-socket โ€” bind to the specified UNIX/TCP socket using the uwsgi protocol over SSL ๐Ÿ”’
  • --ssl-socket โ€” bind to the specified UNIX/TCP socket using the uwsgi protocol over SSL
  • --http-socket โ€” bind to the specified UNIX/TCP socket using the HTTP protocol
  • --http-socket-modifier1 โ€” force the specified modifier1 when using HTTP protocol
  • --http-socket-modifier2 โ€” force the specified modifier2 when using HTTP protocol
  • --http11-socket โ€” bind to the specified UNIX/TCP socket using HTTP 1.1 (Keep-Alive) protocol
  • --https-socket โ€” bind to the specified UNIX/TCP socket using HTTPS protocol ๐Ÿ”
  • --https-socket-modifier1 โ€” force the specified modifier1 when using HTTPS protocol
  • --https-socket-modifier2 โ€” force the specified modifier2 when using HTTPS protocol
  • --fastcgi-socket โ€” bind to the specified UNIX/TCP socket using FastCGI protocol
  • --fastcgi-nph-socket โ€” bind to the specified UNIX/TCP socket using FastCGI protocol (nph mode)
  • --fastcgi-modifier1 โ€” force the specified modifier1 when using FastCGI protocol
  • --fastcgi-modifier2 โ€” force the specified modifier2 when using FastCGI protocol
  • --scgi-socket โ€” bind to the specified UNIX/TCP socket using SCGI protocol
  • --scgi-nph-socket โ€” bind to the specified UNIX/TCP socket using SCGI protocol (nph mode)
  • --scgi-modifier1 โ€” force the specified modifier1 when using SCGI protocol
  • --scgi-modifier2 โ€” force the specified modifier2 when using SCGI protocol
  • --raw-socket โ€” bind to the specified UNIX/TCP socket using RAW protocol
  • --raw-modifier1 โ€” force the specified modifier1 when using RAW protocol
  • --raw-modifier2 โ€” force the specified modifier2 when using RAW protocol
  • --puwsgi-socket โ€” bind to the specified UNIX/TCP socket using persistent uwsgi protocol (puwsgi)
  • --protocol โ€” force the specified protocol for default sockets
  • --socket-protocol โ€” force the specified protocol for default sockets
  • --shared-socket โ€” create a shared socket for advanced jailing or ipc ๐Ÿงš
  • --undeferred-shared-socket โ€” create a shared socket for advanced jailing or ipc (undeferred mode)
  • -p, --processes โ€” spawn the specified number of workers/processes
  • -p, --workers โ€” spawn the specified number of workers/processes
  • --thunder-lock โ€” serialize accept() usage (if possible) โšก
  • -t, --harakiri โ€” set harakiri timeout
  • --harakiri-verbose โ€” enable verbose mode for harakiri
  • --harakiri-graceful-timeout โ€” interval between graceful harakiri attempt and a sigkill
  • --harakiri-graceful-signal โ€” use this signal instead of sigterm for graceful harakiri attempts
  • --harakiri-queue-threshold โ€” only trigger harakiri if queue is greater than this threshold
  • --harakiri-no-arh โ€” do not enable harakiri during after-request-hook
  • --no-harakiri-arh โ€” do not enable harakiri during after-request-hook
  • --no-harakiri-after-req-hook โ€” do not enable harakiri during after-request-hook
  • --backtrace-depth โ€” set backtrace depth
  • --mule-harakiri โ€” set harakiri timeout for mule tasks
  • -x, --xmlconfig โ€” load config from xml file
  • -x, --xml โ€” load config from xml file
  • --config โ€” load configuration using the pluggable system
  • --fallback-config โ€” re-exec uwsgi with the specified config when exit code is 1
  • --strict โ€” enable strict mode (placeholder cannot be used)
  • --skip-zero โ€” skip check of file descriptor 0
  • --skip-atexit โ€” skip atexit hooks (ignored by the master)
  • --skip-atexit-teardown โ€” skip atexit teardown (ignored by the master)
  • -S, --set โ€” set a placeholder or an option
  • --set-placeholder โ€” set a placeholder
  • --set-ph โ€” set a placeholder
  • --get โ€” print the specified option value and exit
  • --declare-option โ€” declare a new uWSGI custom option
  • --declare-option2 โ€” declare a new uWSGI custom option (non-immediate)
  • --resolve โ€” place the result of a dns query in the specified placeholder, sytax: placeholder=name (immediate option)
  • --for โ€” (opt logic) for cycle
  • --for-glob โ€” (opt logic) for cycle (expand glob)
  • --for-times โ€” (opt logic) for cycle (expand the specified num to a list starting from 1)
  • --for-readline โ€” (opt logic) for cycle (expand the specified file to a list of lines)
  • --endfor โ€” (opt logic) end for cycle
  • --end-for โ€” (opt logic) end for cycle
  • --if-opt โ€” (opt logic) check for option
  • --if-not-opt โ€” (opt logic) check for option
  • --if-env โ€” (opt logic) check for environment variable
  • --if-not-env โ€” (opt logic) check for environment variable
  • --ifenv โ€” (opt logic) check for environment variable
  • --if-reload โ€” (opt logic) check for reload
  • --if-not-reload โ€” (opt logic) check for reload
  • --if-hostname โ€” (opt logic) check for hostname
  • --if-not-hostname โ€” (opt logic) check for hostname
  • --if-hostname-match โ€” (opt logic) try to match hostname against a regular expression
  • --if-not-hostname-match โ€” (opt logic) try to match hostname against a regular expression
  • --if-exists โ€” (opt logic) check for file/directory existence
  • --if-not-exists โ€” (opt logic) check for file/directory existence
  • --ifexists โ€” (opt logic) check for file/directory existence
  • --if-plugin โ€” (opt logic) check for plugin
  • --if-not-plugin โ€” (opt logic) check for plugin
  • --ifplugin โ€” (opt logic) check for plugin
  • --if-file โ€” (opt logic) check for file existence
  • --if-not-file โ€” (opt logic) check for file existence
  • --if-dir โ€” (opt logic) check for directory existence
  • --if-not-dir โ€” (opt logic) check for directory existence
  • --ifdir โ€” (opt logic) check for directory existence
  • --if-directory โ€” (opt logic) check for directory existence
  • --endif โ€” (opt logic) end if
  • --end-if โ€” (opt logic) end if
  • --blacklist โ€” set options blacklist context
  • --end-blacklist โ€” clear options blacklist context
  • --whitelist โ€” set options whitelist context
  • --end-whitelist โ€” clear options whitelist context
  • --ignore-sigpipe โ€” do not report (annoying) SIGPIPE
  • --ignore-write-errors โ€” do not report (annoying) write()/writev() errors
  • --write-errors-tolerance โ€” set the maximum number of allowed write errors (default: no tolerance)
  • --write-errors-exception-only โ€” only raise an exception on write errors giving control to the app itself
  • --disable-write-exception โ€” disable exception generation on write()/writev()
  • --inherit โ€” use the specified file as config template
  • --include โ€” include the specified file as immediate configuration
  • --inject-before โ€” inject a text file before the config file (advanced templating)
  • --inject-after โ€” inject a text file after the config file (advanced templating)
  • -d, --daemonize โ€” daemonize uWSGI ๐Ÿ‘ป
  • --daemonize2 โ€” daemonize uWSGI after app loading
  • --stop โ€” stop an instance
  • --reload โ€” reload an instance
  • --pause โ€” pause an instance
  • --suspend โ€” suspend an instance
  • --resume โ€” resume an instance
  • --connect-and-read โ€” connect to a socket and wait for data from it
  • --extract โ€” fetch/dump any supported address to stdout
  • -l, --listen โ€” set the socket listen queue size
  • -v, --max-vars โ€” set the amount of internal iovec/vars structures
  • --max-apps โ€” set the maximum number of per-worker applications
  • -b, --buffer-size โ€” set internal buffer size
  • -m, --memory-report โ€” enable memory report
  • --profiler โ€” enable the specified profiler
  • -c, --cgi-mode โ€” force CGI-mode for plugins supporting it
  • -a, --abstract-socket โ€” force UNIX socket in abstract mode (Linux only) ๐Ÿง
  • -C, --chmod-socket โ€” chmod-socket
  • -C, --chmod โ€” chmod-socket
  • --chown-socket โ€” chown unix sockets
  • --umask โ€” set umask
  • --freebind โ€” put socket in freebind mode
  • --map-socket โ€” map sockets to specific workers
  • -T, --enable-threads โ€” enable threads (stub option this is true by default) ๐Ÿงต
  • --no-threads-wait โ€” do not wait for threads cancellation on quit/reload
  • --auto-procname โ€” automatically set processes name to something meaningful
  • --procname-prefix โ€” add a prefix to the process names
  • --procname-prefix-spaced โ€” add a spaced prefix to the process names
  • --procname-append โ€” append a string to process names
  • --procname โ€” set process names
  • --procname-master โ€” set master process name
  • -i, --single-interpreter โ€” do not use multiple interpreters (where available)
  • --need-app โ€” exit if no app can be loaded
  • -M, --master โ€” enable master process ๐Ÿ‘‘
  • --honour-stdin โ€” do not remap stdin to /dev/null
  • --emperor โ€” run the Emperor
  • --emperor-proxy-socket โ€” force the vassal to became an Emperor proxy
  • --emperor-wrapper โ€” set a binary wrapper for vassals
  • --emperor-wrapper-override โ€” set a binary wrapper for vassals to try before the default one
  • --emperor-wrapper-fallback โ€” set a binary wrapper for vassals to try as a last resort
  • --emperor-nofollow โ€” do not follow symlinks when checking for mtime
  • --emperor-procname โ€” set the Emperor process name
  • --emperor-freq โ€” set the Emperor scan frequency (default 3 seconds)
  • --emperor-required-heartbeat โ€” set the Emperor tolerance about heartbeats ๐Ÿ’“
  • --emperor-curse-tolerance โ€” set the Emperor tolerance about cursed vassals

okay that's part one bestie, there is so much more coming, don't go anywhere ๐Ÿ’œ

  • --emperor-pidfile โ€” writes the Emperor pid into the file you name. keeping receipts on the main character emperor, periodt ๐Ÿ‘‘
  • --emperor-tyrant โ€” puts the Emperor into Tyrant mode. it's giving absolute monarchy energy ๐Ÿ’…
  • --emperor-tyrant-nofollow โ€” in Tyrant mode, do not follow symlinks when checking for uid/gid. lowkey a safety vibe check ๐Ÿšซ๐Ÿ”—
  • --emperor-stats, --emperor-stats-server โ€” runs the Emperor stats server. stats server said slay ๐Ÿ“Šโœจ
  • --early-emperor โ€” spawns the emperor as soon as possible. no waiting, main character energy fr fr โฐ
  • --emperor-broodlord โ€” runs the emperor in BroodLord mode. iconic name, no notes ๐Ÿ‰
  • --emperor-throttle โ€” sets the throttling level in milliseconds for bad behaving vassals (default 1000). timeout for the misbehaving besties โณ
  • --emperor-max-throttle โ€” sets the max throttling level in milliseconds for bad behaving vassals (default 3 minutes). the ultimate time-out ๐Ÿšซ
  • --emperor-magic-exec โ€” prefixes vassals config files with exec:// if they have the executable bit. magic indeed โœจ
  • --emperor-on-demand-extension, --emperor-on-demand-ext โ€” searches for a text file (vassal name + extension) containing the on demand socket name. iykyk ๐Ÿ”
  • --emperor-on-demand-directory, --emperor-on-demand-dir โ€” enables on demand mode binding to the unix socket in the specified directory named like the vassal + .socket. socket vibes ๐Ÿงฆ
  • --emperor-on-demand-exec โ€” uses the output of the specified command as the on demand socket name (the vassal name is passed as the only argument). command said speak ๐Ÿ—ฃ๏ธ
  • --emperor-extra-extension, --emperor-extra-ext โ€” allows the specified extension in the Emperor (vassal will be called with --config). extra, as a treat ๐ŸŽ€
  • --emperor-no-blacklist โ€” disables the Emperor blacklisting subsystem. no blacklist, only vibes ๐Ÿšซ๐Ÿ“
  • --emperor-use-clone โ€” uses clone() instead of fork() passing the specified unshare() flags. clone era ๐Ÿงฌ
  • --emperor-graceful-shutdown โ€” uses vassals graceful shutdown during ragnarok. ragnarok but make it polite ๐Ÿ•Š๏ธ
  • --emperor-cap, --vassals-cap, --vassal-cap โ€” sets vassals capability. cap as in capabilities, not baseball cap ๐Ÿงข
  • --imperial-monitor-list, --imperial-monitors-list โ€” lists enabled imperial monitors. monitor check ๐Ÿ‘€
  • --vassals-inherit โ€” adds config templates to vassals config (uses --inherit). inherit the vibe ๐Ÿงฌ
  • --vassals-include โ€” includes config templates to vassals config (uses --include instead of --inherit). include, not inherit, bestie ๐Ÿ“Ž
  • --vassals-inherit-before โ€” adds config templates to vassals config (uses --inherit, parses before the vassal file). before era โฎ๏ธ
  • --vassals-include-before โ€” includes config templates to vassals config (uses --include instead of --inherit, parses before the vassal file). before + include ๐Ÿซถ
  • --vassals-start-hook โ€” runs the specified command before each vassal starts. pre-game ritual ๐ŸŽฌ
  • --vassals-stop-hook โ€” runs the specified command after vassal's death. post-mortem vibes ๐Ÿ’€
  • --vassal-sos โ€” asks emperor for reinforcement when overloaded. sos bestie ๐Ÿ†˜
  • --vassal-sos-backlog โ€” asks emperor for sos if backlog queue has more items than the value specified. queue too long? sos ๐Ÿ“ฌ
  • --vassals-set, --vassal-set โ€” automatically sets the specified option (via --set) for every vassal. set it and forget it ๐Ÿ’…
  • --heartbeat โ€” announces healthiness to the emperor. healthy queen ๐Ÿ’–
  • --reload-mercy โ€” sets the maximum time (in seconds) we wait for workers and other processes to die during reload/shutdown. mercy, but make it a deadline โฑ๏ธ
  • --worker-reload-mercy โ€” sets the maximum time (in seconds) a worker can take to reload/shutdown (default is 60). worker said give me a minute โณ
  • --mule-reload-mercy โ€” sets the maximum time (in seconds) a mule can take to reload/shutdown (default is 60). mule mercy, same energy ๐Ÿด
  • --exit-on-reload โ€” forces exit even if a reload is requested. exit stage left ๐Ÿšช
  • --die-on-term โ€” exits instead of brutal reload on SIGTERM. term says bye ๐Ÿ‘‹
  • --force-gateway โ€” forces the spawn of the first registered gateway without a master. gateway said go solo ๐Ÿš€
  • -h|--help, -h|--usage โ€” shows this help. help, but make it cute ๐Ÿ†˜
  • --print-sym, --print-symbol โ€” prints content of the specified binary symbol. symbol reveal ๐Ÿ”
  • -r|--reaper โ€” calls waitpid(-1,...) after each request to get rid of zombies. zombie apocalypse? not on my watch ๐ŸงŸ
  • -R|--max-requests โ€” reloads workers after the specified amount of managed requests. request limit, reload era ๐Ÿ”„
  • --max-requests-delta โ€” adds (worker_id * delta) to the max_requests value of each worker. math but make it worker-specific ๐Ÿงฎ
  • --min-worker-lifetime โ€” number of seconds a worker must run before being reloaded (default is 10). minimum vibe time โฒ๏ธ
  • --max-worker-lifetime โ€” reloads workers after the specified amount of seconds (default is disabled). max lifetime, but off by default ๐Ÿšซ
  • --max-worker-lifetime-delta โ€” adds (worker_id * delta) seconds to the max_worker_lifetime value of each worker. delta magic โœจ
  • -z|--socket-timeout โ€” sets internal sockets timeout. socket said don't wait up โณ
  • --no-fd-passing โ€” disables file descriptor passing. no passing, periodt ๐Ÿšซ
  • --locks โ€” creates the specified number of shared locks. locks, but make it plural ๐Ÿ”’
  • --lock-engine โ€” sets the lock engine. engine of locks ๐Ÿš‚
  • --ftok โ€” sets the ipcsem key via ftok() for avoiding duplicates. no duplicates, bestie ๐Ÿšซ
  • --persistent-ipcsem โ€” does not remove ipcsem's on shutdown. persistent queen ๐Ÿ‘‘
  • -A|--sharedarea โ€” creates a raw shared memory area of specified pages (note: it supports keyval too). shared area, shared vibes ๐Ÿค
  • --safe-fd, --fd-safe โ€” does not close the specified file descriptor. safe fd, no cap ๐Ÿ›ก๏ธ
  • --cache โ€” creates a shared cache containing given elements. cache me outside, how bout dat? ๐Ÿ—ƒ๏ธ
  • --cache-blocksize โ€” sets cache blocksize. block size, block party ๐Ÿงฑ
  • --cache-store โ€” enables persistent cache to disk. save it for later ๐Ÿ’พ
  • --cache-store-sync โ€” sets frequency of sync for persistent cache. sync frequency, iykyk ๐Ÿ”„
  • --cache-no-expire โ€” disables auto sweep of expired items. no expiration, only vibes ๐Ÿšซโฐ
  • --cache-expire-freq โ€” sets the frequency of cache sweeper scans (default 3 seconds). sweep sweep ๐Ÿงน
  • --cache-report-freed-items โ€” constantly reports the cache item freed by the sweeper (use only for debug). debug only, bestie ๐Ÿ›
  • --cache-udp-server โ€” binds the cache udp server (used only for set/update/delete) to the specified socket. udp server said hi ๐Ÿ“ก
  • --cache-udp-node โ€” sends cache update/deletion to the specified cache udp server. udp node, sending signals ๐Ÿ“ถ
  • --cache-sync โ€” copies the whole content of another uWSGI cache server on server startup. copy that, whole vibe ๐Ÿ“‹
  • --cache-use-last-modified โ€” updates last_modified_at timestamp on every cache item modification (default is disabled). last modified era, off by default ๐Ÿ•’
  • --add-cache-item โ€” adds an item in the cache. add to cart ๐Ÿ›’
  • --load-file-in-cache โ€” loads a static file in the cache. file in cache, iconic ๐Ÿ“
  • --load-file-in-cache-gzip โ€” loads a static file in the cache with gzip compression. gzip said squeeze ๐Ÿ—œ๏ธ
  • --cache2 โ€” creates a new generation shared cache (keyval syntax). cache but generation 2 โœจ
  • --queue โ€” enables shared queue. queue era ๐ŸŽŸ๏ธ
  • --queue-blocksize โ€” sets queue blocksize. queue block party ๐Ÿงฑ
  • --queue-store โ€” enables persistent queue to disk. queue saved to disk ๐Ÿ’พ
  • --queue-store-sync โ€” sets frequency of sync for persistent queue. sync frequency, queue edition ๐Ÿ”„
  • -Q|--spooler โ€” runs a spooler on the specified directory. spooler, not spoiler ๐ŸŽฌ
  • --spooler-external โ€” maps spoolers requests to a spooler directory managed by an external instance. external spooler vibes ๐ŸŒ
  • --spooler-ordered โ€” tries to order the execution of spooler tasks. order in the court ๐Ÿ‘ฉโ€โš–๏ธ
  • --spooler-chdir โ€” chdir() to specified directory before each spooler task. change directory, change vibe ๐Ÿ“‚
  • --spooler-processes โ€” sets the number of processes for spoolers. spooler processes, plural ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘
  • --spooler-quiet โ€” do not be verbose with spooler tasks. quiet spooler, no yapping ๐Ÿคซ
  • --spooler-max-tasks โ€” sets the maximum number of tasks to run before recycling a spooler. max tasks, then recycle โ™ป๏ธ
  • --spooler-harakiri โ€” sets harakiri timeout for spooler tasks. harakiri timeout, dramatic ๐Ÿ’€
  • --spooler-frequency, --spooler-freq โ€” sets spooler frequency. frequency, spooler edition ๐Ÿ“ป
  • --mule โ€” adds a mule. mule said hi ๐Ÿด
  • --mules โ€” adds the specified number of mules. mules, plural ๐Ÿด๐Ÿด
  • --farm โ€” adds a mule farm. farm era ๐Ÿšœ
  • --mule-msg-size โ€” sets mule message buffer size. message buffer size, mule edition ๐Ÿ“จ
  • --signal โ€” sends a uwsgi signal to a server. signal sent ๐Ÿ“ก
  • --signal-bufsize, --signals-bufsize โ€” sets buffer size for signal queue. signal buffer size, queue vibes ๐Ÿ“ถ
  • --signal-timer, --timer โ€” adds a timer (syntax: <signal> <seconds>). timer said tick tock โฐ
  • --signal-rbtimer, --rbtimer โ€” adds a redblack timer (syntax: <signal> <seconds>). redblack timer, fancy โฑ๏ธ
  • --rpc-max โ€” maximum number of rpc slots (default: 64). rpc slots, maxed out ๐ŸŽฐ
  • -L|--disable-logging โ€” disables request logging. no logging, no yapping ๐Ÿšซ๐Ÿ“
  • --flock โ€” locks the specified file before starting, exits if locked. flock and roll ๐Ÿ‘
  • --flock-wait โ€” locks the specified file before starting, waits if locked. wait for it ๐Ÿ•ฐ๏ธ
  • --flock2 โ€” locks the specified file after logging/daemon setup, exits if locked. flock but later ๐Ÿ‘
  • --flock-wait2 โ€” locks the specified file after logging/daemon setup, waits if locked. wait but later ๐Ÿ•ฐ๏ธ
  • --pidfile โ€” creates pidfile (before privileges drop). pidfile before the drop ๐Ÿ‘‘
  • --pidfile2 โ€” creates pidfile (after privileges drop). pidfile after the drop ๐Ÿ’…
  • --safe-pidfile โ€” creates safe pidfile (before privileges drop). safe pidfile, before ๐Ÿ›ก๏ธ
  • --safe-pidfile2 โ€” creates safe pidfile (after privileges drop). safe pidfile, after ๐Ÿ›ก๏ธ
  • --chroot โ€” chroot() to the specified directory. chroot jail, but make it cute ๐Ÿ 
  • --pivot-root, --pivot_root โ€” pivot_root() to the specified directories (new_root and put_old must be separated with a space). pivot root, space required ๐Ÿšช
  • --uid โ€” setuid to the specified user/uid. uid said set it ๐Ÿ†”
  • --gid โ€” setgid to the specified group/gid. gid said set it ๐Ÿ†”
  • --add-gid โ€” adds the specified group id to the process credentials. add gid to the credentials ๐Ÿชช
  • --immediate-uid โ€” setuid to the specified user/uid IMMEDIATELY. immediate uid, no waiting โšก
  • --immediate-gid โ€” setgid to the specified group/gid IMMEDIATELY. immediate gid, no waiting โšก
  • --no-initgroups โ€” disables additional groups set via initgroups(). no initgroups, no extra groups ๐Ÿšซ
  • --cap โ€” sets process capability. process capability, cap it ๐Ÿงข
  • --unshare โ€” unshare() part of the processes and puts it in a new namespace. unshare, new namespace era ๐ŸŒŒ
  • --unshare2 โ€” unshare() part of the processes and puts it in a new namespace after rootfs change. unshare but after rootfs change ๐ŸŒŒ
  • --setns-socket โ€” exposes a unix socket returning namespace fds from /proc/self/ns. setns socket, namespace fds ๐Ÿ“ก
  • --setns-socket-skip, --setns-skip โ€” skips the specified entry when sending setns file descriptors. skip it, setns edition ๐Ÿšซ
  • --setns โ€” joins a namespace created by an external uWSGI instance. setns, join the namespace ๐ŸŒŒ
  • --setns-preopen โ€” opens /proc/self/ns as soon as possible and caches fds. preopen, cache the fds ๐Ÿ—‚๏ธ
  • --jailed โ€” mark the instance as jailed (and yes, that forces the execution of post_jail hooks) ๐Ÿ’…
  • --refork โ€” fork() again after privileges drop. Useful for jailing systems โœจ
  • --re-fork โ€” fork() again after privileges drop. Useful for jailing systems ๐Ÿฆ‹
  • --refork-as-root โ€” fork() again before privileges drop. Useful for jailing systems ๐Ÿ”ฅ
  • --re-fork-as-root โ€” fork() again before privileges drop. Useful for jailing systems ๐Ÿ”ฅ
  • --refork-post-jail โ€” fork() again after jailing. Useful for jailing systems ๐ŸŒธ
  • --re-fork-post-jail โ€” fork() again after jailing. Useful for jailing systems ๐ŸŒธ
  • --hook-asap โ€” run the specified hook as soon as possible โšก
  • --hook-pre-jail โ€” run the specified hook before jailing ๐Ÿงš
  • --hook-post-jail โ€” run the specified hook after jailing ๐Ÿงš
  • --hook-in-jail โ€” run the specified hook in jail after initialization ๐Ÿ’ซ
  • --hook-as-root โ€” run the specified hook before privileges drop ๐Ÿ‘‘
  • --hook-as-user โ€” run the specified hook after privileges drop ๐Ÿซถ
  • --hook-as-user-atexit โ€” run the specified hook before app exit and reload ๐Ÿ™ˆ
  • --hook-pre-app โ€” run the specified hook before app loading ๐Ÿ“
  • --hook-post-app โ€” run the specified hook after app loading ๐Ÿ“
  • --hook-post-fork โ€” run the specified hook after each fork ๐ŸŒ€
  • --hook-accepting โ€” run the specified hook after each worker enter the accepting phase ๐ŸŽ€
  • --hook-accepting1 โ€” run the specified hook after the first worker enters the accepting phase ๐ŸŽ€
  • --hook-accepting-once โ€” run the specified hook after each worker enter the accepting phase (once per-instance) ๐ŸŽ€
  • --hook-accepting1-once โ€” run the specified hook after the first worker enters the accepting phase (once per instance) ๐ŸŽ€
  • --hook-master-start โ€” run the specified hook when the Master starts ๐Ÿ‘‘
  • --hook-touch โ€” run the specified hook when the specified file is touched (syntax: <file> <action>) ๐Ÿ’ฅ
  • --hook-emperor-start โ€” run the specified hook when the Emperor starts ๐Ÿ‘‘
  • --hook-emperor-stop โ€” run the specified hook when the Emperor send a stop message ๐Ÿ›‘
  • --hook-emperor-reload โ€” run the specified hook when the Emperor send a reload message ๐Ÿ”„
  • --hook-emperor-lost โ€” run the specified hook when the Emperor connection is lost ๐Ÿ˜ญ
  • --hook-as-vassal โ€” run the specified hook before exec()ing the vassal ๐Ÿฆ‹
  • --hook-as-emperor โ€” run the specified hook in the emperor after the vassal has been started ๐Ÿ‘‘
  • --hook-as-mule โ€” run the specified hook in each mule ๐Ÿด
  • --hook-as-gateway โ€” run the specified hook in each gateway ๐ŸŒ‰
  • --after-request-hook โ€” run the specified function/symbol after each request โœจ
  • --after-request-call โ€” run the specified function/symbol after each request โœจ
  • --exec-asap โ€” run the specified command as soon as possible โšก
  • --exec-pre-jail โ€” run the specified command before jailing ๐Ÿงš
  • --exec-post-jail โ€” run the specified command after jailing ๐Ÿงš
  • --exec-in-jail โ€” run the specified command in jail after initialization ๐Ÿ’ซ
  • --exec-as-root โ€” run the specified command before privileges drop ๐Ÿ‘‘
  • --exec-as-user โ€” run the specified command after privileges drop ๐Ÿซถ
  • --exec-as-user-atexit โ€” run the specified command before app exit and reload ๐Ÿ™ˆ
  • --exec-pre-app โ€” run the specified command before app loading ๐Ÿ“
  • --exec-post-app โ€” run the specified command after app loading ๐Ÿ“
  • --exec-as-vassal โ€” run the specified command before exec()ing the vassal ๐Ÿฆ‹
  • --exec-as-emperor โ€” run the specified command in the emperor after the vassal has been started ๐Ÿ‘‘
  • --mount-asap โ€” mount filesystem as soon as possible โšก
  • --mount-pre-jail โ€” mount filesystem before jailing ๐Ÿงš
  • --mount-post-jail โ€” mount filesystem after jailing ๐Ÿงš
  • --mount-in-jail โ€” mount filesystem in jail after initialization ๐Ÿ’ซ
  • --mount-as-root โ€” mount filesystem before privileges drop ๐Ÿ‘‘
  • --mount-as-vassal โ€” mount filesystem before exec()ing the vassal ๐Ÿฆ‹
  • --mount-as-emperor โ€” mount filesystem in the emperor after the vassal has been started ๐Ÿ‘‘
  • --umount-asap โ€” unmount filesystem as soon as possible โšก
  • --umount-pre-jail โ€” unmount filesystem before jailing ๐Ÿงš
  • --umount-post-jail โ€” unmount filesystem after jailing ๐Ÿงš
  • --umount-in-jail โ€” unmount filesystem in jail after initialization ๐Ÿ’ซ
  • --umount-as-root โ€” unmount filesystem before privileges drop ๐Ÿ‘‘
  • --umount-as-vassal โ€” unmount filesystem before exec()ing the vassal ๐Ÿฆ‹
  • --umount-as-emperor โ€” unmount filesystem in the emperor after the vassal has been started ๐Ÿ‘‘
  • --wait-for-interface โ€” wait for the specified network interface to come up before running root hooks ๐ŸŒ
  • --wait-for-interface-timeout โ€” set the timeout for wait-for-interface โณ
  • --wait-interface โ€” wait for the specified network interface to come up before running root hooks ๐ŸŒ
  • --wait-interface-timeout โ€” set the timeout for wait-for-interface โณ
  • --wait-for-iface โ€” wait for the specified network interface to come up before running root hooks ๐ŸŒ
  • --wait-for-iface-timeout โ€” set the timeout for wait-for-interface โณ
  • --wait-iface โ€” wait for the specified network interface to come up before running root hooks ๐ŸŒ
  • --wait-iface-timeout โ€” set the timeout for wait-for-interface โณ
  • --wait-for-fs โ€” wait for the specified filesystem item to appear before running root hooks ๐Ÿ“
  • --wait-for-file โ€” wait for the specified file to appear before running root hooks ๐Ÿ“„
  • --wait-for-dir โ€” wait for the specified directory to appear before running root hooks ๐Ÿ“‚
  • --wait-for-mountpoint โ€” wait for the specified mountpoint to appear before running root hooks ๐Ÿ“
  • --wait-for-fs-timeout โ€” set the timeout for wait-for-fs/file/dir โณ
  • --wait-for-socket โ€” wait for the specified socket to be ready before loading apps ๐Ÿ”Œ
  • --wait-for-socket-timeout โ€” set the timeout for wait-for-socket โณ
  • --call-asap โ€” call the specified function as soon as possible โšก
  • --call-pre-jail โ€” call the specified function before jailing ๐Ÿงš
  • --call-post-jail โ€” call the specified function after jailing ๐Ÿงš
  • --call-in-jail โ€” call the specified function in jail after initialization ๐Ÿ’ซ
  • --call-as-root โ€” call the specified function before privileges drop ๐Ÿ‘‘
  • --call-as-user โ€” call the specified function after privileges drop ๐Ÿซถ
  • --call-as-user-atexit โ€” call the specified function before app exit and reload ๐Ÿ™ˆ
  • --call-pre-app โ€” call the specified function before app loading ๐Ÿ“
  • --call-post-app โ€” call the specified function after app loading ๐Ÿ“
  • --call-as-vassal โ€” call the specified function() before exec()ing the vassal ๐Ÿฆ‹
  • --call-as-vassal1 โ€” call the specified function(char *) before exec()ing the vassal ๐Ÿฆ‹
  • --call-as-vassal3 โ€” call the specified function(char *, uid_t, gid_t) before exec()ing the vassal ๐Ÿฆ‹
  • --call-as-emperor โ€” call the specified function() in the emperor after the vassal has been started ๐Ÿ‘‘
  • --call-as-emperor1 โ€” call the specified function(char *) in the emperor after the vassal has been started ๐Ÿ‘‘
  • --call-as-emperor2 โ€” call the specified function(char *, pid_t) in the emperor after the vassal has been started ๐Ÿ‘‘
  • --call-as-emperor4 โ€” call the specified function(char *, pid_t, uid_t, gid_t) in the emperor after the vassal has been started ๐Ÿ‘‘
  • --ini โ€” load config from ini file ๐Ÿ—‚๏ธ
  • -y, --yaml โ€” load config from yaml file ๐Ÿงพ
  • -y, --yml โ€” load config from yaml file ๐Ÿงพ
  • -j, --json โ€” load config from json file ๐Ÿงพ
  • -j, --js โ€” load config from json file ๐Ÿงพ
  • --weight โ€” weight of the instance (used by clustering/lb/subscriptions) โš–๏ธ
  • --auto-weight โ€” set weight of the instance (used by clustering/lb/subscriptions) automatically ๐Ÿค–
  • --no-server โ€” force no-server mode ๐Ÿšซ
  • --command-mode โ€” force command mode โŒจ๏ธ
  • --no-defer-accept โ€” disable deferred-accept on sockets ๐Ÿšซ
  • --tcp-nodelay โ€” enable TCP NODELAY on each request ๐Ÿ“ก
  • --so-keepalive โ€” enable TCP KEEPALIVEs ๐Ÿ’“
  • --so-send-timeout โ€” set SO_SNDTIMEO โฑ๏ธ
  • --socket-send-timeout โ€” set SO_SNDTIMEO โฑ๏ธ
  • --so-write-timeout โ€” set SO_SNDTIMEO โฑ๏ธ
  • --socket-write-timeout โ€” set SO_SNDTIMEO โฑ๏ธ
  • --socket-sndbuf โ€” set SO_SNDBUF ๐Ÿ“ฆ
  • --socket-rcvbuf โ€” set SO_RCVBUF ๐Ÿ“ฆ
  • --shutdown-sockets โ€” force calling shutdown() in addition to close() when sockets are destroyed ๐Ÿ’ฅ
  • --limit-as โ€” limit processes address space/vsz ๐Ÿง 
  • --limit-nproc โ€” limit the number of spawnable processes ๐Ÿงฎ
  • --reload-on-as โ€” reload if address space is higher than specified megabytes ๐Ÿ”„
  • --reload-on-rss โ€” reload if rss memory is higher than specified megabytes ๐Ÿ”„
  • --evil-reload-on-as โ€” force the master to reload a worker if its address space is higher than specified megabytes ๐Ÿ˜ˆ
  • --evil-reload-on-rss โ€” force the master to reload a worker if its rss memory is higher than specified megabytes ๐Ÿ˜ˆ
  • --mem-collector-freq โ€” set the memory collector frequency when evil reloads are in place ๐Ÿงน
  • --reload-on-fd โ€” reload if the specified file descriptor is ready ๐Ÿ”„
  • --brutal-reload-on-fd โ€” brutal reload if the specified file descriptor is ready ๐Ÿ’€
  • --ksm โ€” enable Linux KSM ๐Ÿง
  • --pcre-jit โ€” enable pcre jit (if available) โšก
  • --never-swap โ€” lock all memory pages avoiding swapping ๐Ÿ”’
  • --touch-reload โ€” reload uWSGI if the specified file is modified/touched ๐Ÿ‘†
  • --touch-workers-reload โ€” trigger reload of (only) workers if the specified file is modified/touched ๐Ÿ‘†
  • --touch-mules-reload โ€” reload mules if the specified file is modified/touched ๐Ÿ‘†
  • --touch-spoolers-reload โ€” reload spoolers if the specified file is modified/touched ๐Ÿ‘†
  • --touch-chain-reload โ€” trigger chain reload if the specified file is modified/touched ๐Ÿ‘†
  • --touch-logrotate โ€” trigger logrotation if the specified file is modified/touched ๐Ÿ‘†
  • --touch-logreopen โ€” trigger log reopen if the specified file is modified/touched ๐Ÿ‘†
  • --touch-exec โ€” run command when the specified file is modified/touched (syntax: file command) ๐Ÿ‘†
  • --touch-signal โ€” signal when the specified file is modified/touched (syntax: file signal). Like, you give it a file and a signal, and it fires that signal when the file gets touched. ๐Ÿ’…
  • --fs-reload โ€” graceful reload when the specified filesystem object is modified. So if something in the filesystem changes, it does a graceful reload. So chill. ๐Ÿฆ‹
  • --fs-brutal-reload โ€” brutal reload when the specified filesystem object is modified. No chill, just straight up brutal reload when that filesystem object changes. ๐Ÿ’€
  • --fs-signal โ€” raise a uwsgi signal when the specified filesystem object is modified (syntax: file signal). It's giving "I'll signal uwsgi when this file changes". Periodt. โœจ
  • --check-mountpoint โ€” destroy the instance if a filesystem is no more reachable (useful for reliable Fuse management). Like, if the mountpoint ghosts you, the instance gets destroyed. Bye. ๐Ÿซถ
  • --mountpoint-check โ€” destroy the instance if a filesystem is no more reachable (useful for reliable Fuse management). Same vibe as above, just a different name. Still destroys if filesystem unreachable. ๐Ÿ’–
  • --check-mount โ€” destroy the instance if a filesystem is no more reachable (useful for reliable Fuse management). Yep, another alias. Destroy on unreachable filesystem. ๐Ÿ”ฅ
  • --mount-check โ€” destroy the instance if a filesystem is no more reachable (useful for reliable Fuse management). The last of the mount-check squad. Same energy. ๐ŸŒˆ
  • --propagate-touch โ€” over-engineering option for system with flaky signal management. Like, if your signal management is a mess, this is extra. But hey, it's there. ๐Ÿ™ˆ
  • --limit-post โ€” limit request body. Just caps how much body you can send. Simple. ๐Ÿ“
  • --no-orphans โ€” automatically kill workers if master dies (can be dangerous for availability). So if the master dips, workers get killed. But careful, it might mess with availability. โš ๏ธ
  • --prio โ€” set processes/threads priority. You can set the priority, bestie. ๐Ÿ’œ
  • --cpu-affinity โ€” set cpu affinity. Pin those processes to specific CPUs. Slay. ๐ŸŽ€
  • --post-buffering โ€” set size in bytes after which will buffer to disk instead of memory. So when the request body gets too big, it goes to disk instead of RAM. iykyk. ๐Ÿ’™
  • --post-buffering-bufsize โ€” set buffer size for read() in post buffering mode. Sets the buffer size for read() when post buffering is on. No cap. ๐Ÿ“–
  • --body-read-warning โ€” set the amount of allowed memory allocation (in megabytes) for request body before starting printing a warning. So if the body allocation goes over this many MB, you get a warning. Heads up. โš ๏ธ
  • --upload-progress โ€” enable creation of .json files in the specified directory during a file upload. It makes .json files in that dir while uploading. Track that progress, bestie. ๐Ÿ“Š
  • --no-default-app โ€” do not fallback to default app. No default app fallback. It's giving "I stand alone". ๐Ÿšซ
  • --manage-script-name โ€” automatically rewrite SCRIPT_NAME and PATH_INFO. It auto-rewrites those. Magic. โœจ
  • --ignore-script-name โ€” ignore SCRIPT_NAME. Just ignore it. Bye. ๐Ÿ™…โ€โ™€๏ธ
  • --catch-exceptions โ€” report exception as http output (discouraged, use only for testing). So it shows exceptions as HTTP output, but don't do it in prod, okay? Only for testing. ๐Ÿ’€
  • --reload-on-exception โ€” reload a worker when an exception is raised. If an exception pops off, the worker gets reloaded. ๐Ÿ”„
  • --reload-on-exception-type โ€” reload a worker when a specific exception type is raised. Same but for a specific exception type. ๐ŸŽฏ
  • --reload-on-exception-value โ€” reload a worker when a specific exception value is raised. Yep, for a specific value. ๐Ÿ’Ž
  • --reload-on-exception-repr โ€” reload a worker when a specific exception type+value (language-specific) is raised. Type+value, language-specific. Fancy. ๐Ÿงš
  • --exception-handler โ€” add an exception handler. You can add a handler for exceptions. Handle it. ๐Ÿ’…
  • --enable-metrics โ€” enable metrics subsystem. Turn on the metrics subsystem. Let's get those numbers. ๐Ÿ“ˆ
  • --metric โ€” add a custom metric. Add your own metric. Customize it. ๐ŸŽจ
  • --metric-threshold โ€” add a metric threshold/alarm. Set a threshold or alarm for a metric. ๐Ÿšจ
  • --metric-alarm โ€” add a metric threshold/alarm. Same thing, different name. Alarm it up. ๐Ÿ””
  • --alarm-metric โ€” add a metric threshold/alarm. Another alias. Same energy. โฐ
  • --metrics-dir โ€” export metrics as text files to the specified directory. Dump those metrics as text files in a dir. ๐Ÿ“
  • --metrics-dir-restore โ€” restore last value taken from the metrics dir. Restore the last value from that metrics dir. Rewind. โช
  • --metric-dir โ€” export metrics as text files to the specified directory. Same as --metrics-dir but shorter. Still exports text files. ๐Ÿ“‚
  • --metric-dir-restore โ€” restore last value taken from the metrics dir. Same restore vibe. โฎ๏ธ
  • --metrics-no-cores โ€” disable generation of cores-related metrics. No cores metrics. Skip that. ๐Ÿšซ
  • --udp โ€” run the udp server on the specified address. Runs a UDP server on the address you give. ๐ŸŒ
  • --stats โ€” enable the stats server on the specified address. Turn on the stats server at that address. ๐Ÿ“Š
  • --stats-server โ€” enable the stats server on the specified address. Same thing. Stats server, go. ๐Ÿš€
  • --stats-http โ€” prefix stats server json output with http headers. Adds HTTP headers before the JSON. Fancy. ๐ŸŽฉ
  • --stats-minified โ€” minify statistics json output. Makes the JSON smol. ๐Ÿœ
  • --stats-min โ€” minify statistics json output. Same minify energy. ๐Ÿ“‰
  • --stats-push โ€” push the stats json to the specified destination. Pushes stats JSON to a destination. Send it. ๐Ÿ“ค
  • --stats-pusher-default-freq โ€” set the default frequency of stats pushers. Sets how often stats pushers push. Default freq. โฑ๏ธ
  • --stats-pushers-default-freq โ€” set the default frequency of stats pushers. Same thing, plural. Still freq. ๐Ÿ•’
  • --stats-no-cores โ€” disable generation of cores-related stats. No cores stats. Skip. ๐Ÿšซ
  • --stats-no-metrics โ€” do not include metrics in stats output. Metrics not included in stats. Bye. ๐Ÿ“Š
  • --multicast โ€” subscribe to specified multicast group. Join that multicast group. ๐Ÿ‘ฏโ€โ™€๏ธ
  • --multicast-ttl โ€” set multicast ttl. Set the TTL. โณ
  • --multicast-loop โ€” set multicast loop (default 1). Set the loop, default is 1. ๐Ÿ”
  • --master-fifo โ€” enable the master fifo. Turn on the master FIFO. ๐ŸŽ›๏ธ
  • --notify-socket โ€” enable the notification socket. Enable the notification socket. ๐Ÿ””
  • --subscription-notify-socket โ€” set the notification socket for subscriptions. Set the notification socket specifically for subscriptions. ๐Ÿ“ฌ
  • --legion โ€” became a member of a legion. Join a legion. โš”๏ธ
  • --legion-mcast โ€” became a member of a legion (shortcut for multicast). Same but shortcut for multicast. ๐Ÿš€
  • --legion-node โ€” add a node to a legion. Add a node to the legion. โž•
  • --legion-freq โ€” set the frequency of legion packets. Set the freq of legion packets. ๐Ÿ“ก
  • --legion-tolerance โ€” set the tolerance of legion subsystem. Set the tolerance. ๐Ÿค
  • --legion-death-on-lord-error โ€” declare itself as a dead node for the specified amount of seconds if one of the lord hooks fails. If a lord hook fails, it declares itself dead for the specified amount of seconds. Dramatic. ๐Ÿ’€
  • --legion-skew-tolerance โ€” set the clock skew tolerance of legion subsystem (default 60 seconds). Set clock skew tolerance, default is 60 seconds. โฐ
  • --legion-lord โ€” action to call on Lord election. Action when Lord is elected. ๐Ÿ‘‘
  • --legion-unlord โ€” action to call on Lord dismiss. Action when Lord is dismissed. ๐Ÿšซ
  • --legion-setup โ€” action to call on legion setup. Action on legion setup. ๐Ÿ› ๏ธ
  • --legion-death โ€” action to call on legion death (shutdown of the instance). Action on legion death (shutdown). ๐Ÿ’€
  • --legion-join โ€” action to call on legion join (first time quorum is reached). Action when legion joins (first quorum). ๐ŸŽ‰
  • --legion-node-joined โ€” action to call on new node joining legion. Action when a new node joins. ๐Ÿ‘‹
  • --legion-node-left โ€” action to call node leaving legion. Action when a node leaves. ๐Ÿ‘‹
  • --legion-quorum โ€” set the quorum of a legion. Set the quorum. ๐Ÿ—ณ๏ธ
  • --legion-scroll โ€” set the scroll of a legion. Set the scroll. ๐Ÿ“œ
  • --legion-scroll-max-size โ€” set max size of legion scroll buffer. Max size of scroll buffer. ๐Ÿ“
  • --legion-scroll-list-max-size โ€” set max size of legion scroll list buffer. Max size of scroll list buffer. ๐Ÿ“‹
  • --subscriptions-sign-check โ€” set digest algorithm and certificate directory for secured subscription system. Sets digest algo and cert dir for secured subscriptions. ๐Ÿ”
  • --subscriptions-sign-check-tolerance โ€” set the maximum tolerance (in seconds) of clock skew for secured subscription system. Max tolerance in seconds for clock skew. โณ
  • --subscriptions-sign-skip-uid โ€” skip signature check for the specified uid when using unix sockets credentials. Skip sig check for that uid with unix socket creds. ๐Ÿ†”
  • --subscriptions-credentials-check โ€” add a directory to search for subscriptions key credentials. Add a dir to search for subscription key creds. ๐Ÿ”‘
  • --subscriptions-use-credentials โ€” enable management of SCM_CREDENTIALS in subscriptions UNIX sockets. Enable SCM_CREDENTIALS management in subscriptions UNIX sockets. ๐Ÿ”“
  • --subscription-algo โ€” set load balancing algorithm for the subscription system. Set the load balancing algo for subscriptions. โš–๏ธ
  • --subscription-dotsplit โ€” try to fallback to the next part (dot based) in subscription key. Try fallback to next dot-based part in subscription key. ๐Ÿ”
  • --subscribe-to โ€” subscribe to the specified subscription server. Subscribe to that server. ๐Ÿ“ฌ
  • --st โ€” subscribe to the specified subscription server. Short for --subscribe-to. Same. ๐Ÿ“ฉ
  • --subscribe โ€” subscribe to the specified subscription server. Same subscribe energy. ๐Ÿ“จ
  • --subscribe2 โ€” subscribe to the specified subscription server using advanced keyval syntax. Subscribe with advanced keyval syntax. Fancy. ๐ŸŽฉ
  • --subscribe-freq โ€” send subscription announce at the specified interval. Send announce at that interval. โฐ
  • --subscription-tolerance โ€” set tolerance for subscription servers. Set tolerance for subscription servers. ๐Ÿค
  • --unsubscribe-on-graceful-reload โ€” force unsubscribe request even during graceful reload. Force unsubscribe even on graceful reload. Bye. ๐Ÿ‘‹
  • --start-unsubscribed โ€” configure subscriptions but do not send them (useful with master fifo). Configure but don't send. Useful with master FIFO. ๐Ÿ“
  • --subscribe-with-modifier1 โ€” force the specififed modifier1 when subscribing. Force that modifier1 when subscribing. (Yes, it says "specififed" โ€” we keep it real.) ๐Ÿ’…
  • --snmp โ€” enable the embedded snmp server. Turn on the embedded SNMP server. ๐ŸŒ
  • --snmp-community โ€” set the snmp community string. Set the SNMP community string. ๐Ÿ”‘
  • --ssl-verbose โ€” be verbose about SSL errors. Be loud about SSL errors. ๐Ÿ“ข
  • --ssl-verify-depth โ€” set maximum certificate verification depth. Set max cert verification depth. ๐Ÿ“
  • --sni โ€” add an SNI-governed SSL context. Add an SNI-governed SSL context. ๐Ÿ”’
  • --sni-dir โ€” check for cert/key/client_ca file in the specified directory and create a sni/ssl context on demand. Checks for cert/key/client_ca files in the dir and creates an SNI/SSL context on demand. ๐Ÿ—‚๏ธ
  • --sni-dir-ciphers โ€” set ssl ciphers for sni-dir option. Set SSL ciphers for sni-dir. ๐Ÿ”
  • --ssl-enable3 โ€” enable SSLv3 (insecure). Enables SSLv3, but it's insecure. Don't. ๐Ÿšซ
  • --ssl-enable-sslv3 โ€” enable SSLv3 (insecure). Same insecure SSLv3. ๐Ÿ’€
  • --ssl-enable-tlsv1 โ€” enable TLSv1 (insecure). Enables TLSv1, also insecure. โš ๏ธ
  • --ssl-option โ€” set a raw ssl option (numeric value). Set a raw SSL option with a numeric value. ๐Ÿ”ข
  • --sni-regexp โ€” add an SNI-governed SSL context (the key is a regexp). Add SNI-governed SSL context where the key is a regexp. ๐Ÿงฉ
  • --ssl-tmp-dir โ€” store ssl-related temp files in the specified directory. Store SSL temp files in that dir. ๐Ÿ—ƒ๏ธ
  • --check-interval โ€” set the interval (in seconds) of master checks. Set master check interval in seconds. โฒ๏ธ
  • --forkbomb-delay โ€” sleep for the specified number of seconds when a forkbomb is detected. If a forkbomb is detected, sleep for the specified number of seconds. ๐Ÿ˜ด
  • --binary-path โ€” force binary path. Force the binary path. ๐Ÿ“‚
  • --privileged-binary-patch โ€” patch the uwsgi binary with a new command (before privileges drop). Patch the uwsgi binary with a new command before privileges drop. ๐Ÿฉน
  • --unprivileged-binary-patch โ€” patch the uwsgi binary with a new command (after privileges drop). Same but after privileges drop. ๐Ÿฉน
  • --privileged-binary-patch-arg โ€” patch the uwsgi binary with a new command and arguments (before privileges drop). Patch with command and args before drop. ๐Ÿงฐ
  • --unprivileged-binary-patch-arg โ€” patch the uwsgi binary with a new command and arguments (after privileges drop). Patch with command and args after drop. ๐Ÿงฐ
  • --async โ€” enable async mode with specified cores. Enable async mode with the cores you specify. โšก
  • --max-fd โ€” set maximum number of file descriptors (requires root privileges). Set max file descriptors, needs root. ๐Ÿ”“
  • --logto โ€” set logfile/udp address. Set the logfile or UDP address. ๐Ÿ“
  • --logto2 โ€” log to specified file or udp address after privileges drop. Log to file or UDP after privileges drop. ๐Ÿ“ค
  • --log-format โ€” set advanced format for request logging. Set advanced format for request logs. ๐ŸŽจ
  • --logformat โ€” set advanced format for request logging. Same as above. ๐Ÿ–Œ๏ธ
  • --logformat-strftime โ€” apply strftime to logformat output. Apply strftime to logformat output. ๐Ÿ•ฐ๏ธ
  • --log-format-strftime โ€” apply strftime to logformat output. Same. โณ
  • --logfile-chown โ€” chown logfiles. chown the logfiles. ๐Ÿ‘ค
  • --logfile-chmod โ€” chmod logfiles. chmod the logfiles. ๐Ÿ”ง
  • --log-syslog โ€” log to syslog. Log to syslog. ๐Ÿ“ก
  • --log-socket โ€” send logs to the specified socket. Send logs to that socket. ๐Ÿ”Œ
  • --req-logger โ€” set/append a request logger. Set or append a request logger. ๐Ÿ“‹
  • --logger-req โ€” set/append a request logger. Same. ๐Ÿ“‹
  • --logger โ€” set/append a logger. Set or append a logger. ๐Ÿ“
  • --logger-list โ€” list enabled loggers. List enabled loggers. ๐Ÿ“ƒ
  • --loggers-list โ€” list enabled loggers. Same list. ๐Ÿ“ƒ
  • --threaded-logger โ€” offload log writing to a thread. Offload log writing to a thread. ๐Ÿงต
  • --log-encoder โ€” add an item in the log encoder chain. Add an item to the log encoder chain. โ›“๏ธ
  • --log-req-encoder โ€” add an item in the log req encoder chain. Add an item to the log req encoder chain. โ›“๏ธ
  • --log-drain โ€” drain (do not show) log lines matching the specified regexp. Drain (don't show) log lines matching the regexp. ๐Ÿšซ
  • --log-filter โ€” show only log lines matching the specified regexp. Show only log lines matching the regexp. ๐Ÿ”
  • --log-route โ€” log to the specified named logger if regexp applied on logline matches. Log to the named logger if the regexp matches the logline. ๐Ÿ›ค๏ธ
  • --log-req-route โ€” log requests to the specified named logger if regexp applied on logline matches. Same for requests. ๐Ÿ›ค๏ธ
  • --use-abort โ€” call abort() on segfault/fpe, could be useful for generating a core dump. Calls abort() on segfault/FPE, might help with core dumps. ๐Ÿ’ฅ
  • --alarm โ€” create a new alarm, syntax: <alarm> <plugin:args>. Create a new alarm. Syntax is <alarm> <plugin:args>. ๐Ÿšจ
  • --alarm-cheap โ€” bestie, this uses the main alarm thread instead of creating dedicated threads for curl-based alarms. no cap, it's giving efficiency ๐Ÿ’…
  • --alarm-freq โ€” tunes the anti-loop alarm system (default 3 seconds). lowkey important โฐ
  • --alarm-fd โ€” raises the specified alarm when an fd is read for read (by default it reads 1 byte, set 8 for eventfd). okay so fd energy, periodt ๐Ÿ‘€
  • --alarm-segfault โ€” raises the specified alarm when the segmentation fault handler is executed. segfault? not today, bestie ๐Ÿ’€
  • --segfault-alarm โ€” raises the specified alarm when the segmentation fault handler is executed. alias alert, same energy ๐Ÿšจ
  • --alarm-backlog โ€” raises the specified alarm when the socket backlog queue is full. queue full? alarm goes brrr ๐Ÿ””
  • --backlog-alarm โ€” raises the specified alarm when the socket backlog queue is full. alias vibes ๐Ÿซถ
  • --lq-alarm โ€” raises the specified alarm when the socket backlog queue is full. lq? listen queue, iykyk ๐ŸŽง
  • --alarm-lq โ€” raises the specified alarm when the socket backlog queue is full. another alias, periodt ๐Ÿ’…
  • --alarm-listen-queue โ€” raises the specified alarm when the socket backlog queue is full. listen queue said "i'm full" ๐Ÿ˜ญ
  • --listen-queue-alarm โ€” raises the specified alarm when the socket backlog queue is full. alias, no cap ๐ŸŒˆ
  • --log-alarm โ€” raises the specified alarm when a log line matches the specified regexp, syntax: <alarm>[,alarm...] <regexp>. regexp match? alarm time, bestie ๐Ÿ”ฅ
  • --alarm-log โ€” raises the specified alarm when a log line matches the specified regexp, syntax: <alarm>[,alarm...] <regexp>. alias, same syntax ๐ŸŒธ
  • --not-log-alarm โ€” skips the specified alarm when a log line matches the specified regexp, syntax: <alarm>[,alarm...] <regexp>. skip it, not me ๐Ÿ™ˆ
  • --not-alarm-log โ€” skips the specified alarm when a log line matches the specified regexp, syntax: <alarm>[,alarm...] <regexp>. alias, skip vibes ๐Ÿฆ‹
  • --alarm-list โ€” lists enabled alarms. let's see what's enabled, bestie ๐Ÿ‘‘
  • --alarms-list โ€” lists enabled alarms. alias, same list energy โœจ
  • --alarm-msg-size โ€” sets the max size of an alarm message (default 8192). big message energy, but capped ๐Ÿ“
  • --log-master โ€” delegates logging to master process. master said "i got this" ๐Ÿ’ช
  • --log-master-bufsize โ€” sets the buffer size for the master logger. bigger log messages will be truncated. truncation vibes โœ‚๏ธ
  • --log-master-stream โ€” creates the master logpipe as SOCK_STREAM. stream mode, slay ๐ŸŒŠ
  • --log-master-req-stream โ€” creates the master requests logpipe as SOCK_STREAM. requests logpipe, stream mode ๐ŸŽ€
  • --log-reopen โ€” reopens log after reload. reload? reopen that log, periodt ๐Ÿ”„
  • --log-truncate โ€” truncates log on startup. fresh start, truncate it ๐Ÿ’…
  • --log-maxsize โ€” sets maximum logfile size. maxsize, don't let it get huge ๐Ÿ˜
  • --log-backupname โ€” sets logfile name after rotation. rotation? name it, bestie ๐Ÿ“›
  • --logdate โ€” prefixes logs with date or a strftime string. date prefix, main character energy ๐Ÿ“…
  • --log-date โ€” prefixes logs with date or a strftime string. alias, same date vibes ๐Ÿ—“๏ธ
  • --log-prefix โ€” prefixes logs with a string. custom prefix, cute ๐ŸŽ€
  • --log-zero โ€” logs responses without body. no body? still log it ๐Ÿ‘ป
  • --log-slow โ€” logs requests slower than the specified number of milliseconds. slow? log it, bestie ๐Ÿข
  • --log-4xx โ€” logs requests with a 4xx response. 4xx said "log me" ๐Ÿ“
  • --log-5xx โ€” logs requests with a 5xx response. 5xx? yeah, log that too ๐Ÿšจ
  • --log-big โ€” logs requests bigger than the specified size. big request energy ๐Ÿ˜
  • --log-sendfile โ€” logs sendfile requests. sendfile, logged ๐Ÿ“
  • --log-ioerror โ€” logs requests with io errors. io error? log it, fr fr ๐Ÿ’ฅ
  • --log-micros โ€” reports response time in microseconds instead of milliseconds. micros, highkey precise ๐Ÿ”ฌ
  • --log-x-forwarded-for โ€” uses the ip from X-Forwarded-For header instead of REMOTE_ADDR. X-Forwarded-For said "use my ip" ๐ŸŒ
  • --master-as-root โ€” leaves master process running as root. root energy ๐ŸŒถ๏ธ
  • --drop-after-init โ€” runs privileges drop after plugin initialization, superseded by drop-after-apps. drop those privileges, but note it's superseded by drop-after-apps ๐Ÿงš
  • --drop-after-apps โ€” runs privileges drop after apps loading, superseded by master-as-root. drop after apps, but master-as-root supersedes it ๐Ÿ‘‘
  • --force-cwd โ€” forces the initial working directory to the specified value. cwd said "i'm forced" ๐Ÿ“‚
  • --binsh โ€” overrides /bin/sh (used by exec hooks, it always fallback to /bin/sh). override binsh, but it always fallback to /bin/sh, no cap ๐Ÿš
  • --chdir โ€” chdir to specified directory before apps loading. chdir before apps, periodt ๐Ÿ“
  • --chdir2 โ€” chdir to specified directory after apps loading. chdir after apps, slay ๐Ÿ“‚
  • --lazy โ€” sets lazy mode (load apps in workers instead of master). lazy mode, but make it fashion ๐Ÿ’…
  • --lazy-apps โ€” loads apps in each worker instead of the master. lazy apps, each worker gets a copy ๐Ÿงฌ
  • --cheap โ€” sets cheap mode (spawn workers only after the first request). cheap mode, spawn on first request ๐Ÿ’ธ
  • --cheaper โ€” sets cheaper mode (adaptive process spawning). cheaper mode, adaptive spawning, ate ๐Ÿฝ๏ธ
  • --cheaper-initial โ€” sets the initial number of processes to spawn in cheaper mode. initial processes, set it ๐ŸŒฑ
  • --cheaper-algo โ€” choose to algorithm used for adaptive process spawning. pick the algo, bestie ๐Ÿง 
  • --cheaper-step โ€” number of additional processes to spawn at each overload. step it up at overload ๐Ÿชœ
  • --cheaper-overload โ€” increase workers after specified overload. overload? increase workers ๐Ÿ“ˆ
  • --cheaper-algo-list โ€” lists enabled cheapers algorithms. list those algos ๐Ÿ“‹
  • --cheaper-algos-list โ€” lists enabled cheapers algorithms. alias, same list energy โœจ
  • --cheaper-list โ€” lists enabled cheapers algorithms. another alias, periodt ๐Ÿ’…
  • --cheaper-rss-limit-soft โ€” don't spawn new workers if total resident memory usage of all workers is higher than this limit. soft limit, don't spawn if memory is high ๐Ÿง 
  • --cheaper-rss-limit-hard โ€” if total workers resident memory usage is higher try to stop workers. hard limit, try to stop workers ๐Ÿ›‘
  • --idle โ€” sets idle mode (put uWSGI in cheap mode after inactivity). idle mode, cheap mode after inactivity ๐Ÿ˜ด
  • --die-on-idle โ€” shutdowns uWSGI when idle. die on idle, dramatic but valid ๐Ÿ’€
  • --mount โ€” loads application under mountpoint. mount it, bestie ๐Ÿ”๏ธ
  • --worker-mount โ€” loads application under mountpoint in the specified worker or after workers spawn. worker mount, specific worker or after spawn ๐Ÿ‘ท
  • --threads โ€” runs each worker in prethreaded mode with the specified number of threads. threads, prethreaded mode, slay ๐Ÿงต
  • --thread-stacksize โ€” sets threads stacksize. stacksize, set it ๐Ÿ“š
  • --threads-stacksize โ€” sets threads stacksize. alias, same stacksize energy ๐Ÿงต
  • --thread-stack-size โ€” sets threads stacksize. another alias, periodt ๐Ÿ’…
  • --threads-stack-size โ€” sets threads stacksize. alias again, no cap ๐ŸŒˆ
  • --vhost โ€” enables virtualhosting mode (based on SERVER_NAME variable). vhost mode, based on SERVER_NAME ๐Ÿ 
  • --vhost-host โ€” enables virtualhosting mode (based on HTTP_HOST variable). vhost-host, based on HTTP_HOST ๐Ÿก
  • --route โ€” adds a route. route added, periodt ๐Ÿ›ฃ๏ธ
  • --route-host โ€” adds a route based on Host header. route based on Host header ๐Ÿท๏ธ
  • --route-uri โ€” adds a route based on REQUEST_URI. route based on REQUEST_URI ๐Ÿ”—
  • --route-qs โ€” adds a route based on QUERY_STRING. route based on QUERY_STRING โ“
  • --route-remote-addr โ€” adds a route based on REMOTE_ADDR. route based on REMOTE_ADDR ๐ŸŒ
  • --route-user-agent โ€” adds a route based on HTTP_USER_AGENT. route based on HTTP_USER_AGENT ๐Ÿ•ต๏ธ
  • --route-remote-user โ€” adds a route based on REMOTE_USER. route based on REMOTE_USER ๐Ÿ‘ค
  • --route-referer โ€” adds a route based on HTTP_REFERER. route based on HTTP_REFERER ๐Ÿ”™
  • --route-label โ€” adds a routing label (for use with goto). routing label, for goto ๐Ÿท๏ธ
  • --route-if โ€” adds a route based on condition. route based on condition ๐Ÿค”
  • --route-if-not โ€” adds a route based on condition (negate version). route based on condition, negate version ๐Ÿ™ƒ
  • --route-run โ€” always runs the specified route action. always run that route action ๐Ÿƒ
  • --final-route โ€” adds a final route. final route, periodt ๐Ÿ
  • --final-route-status โ€” adds a final route for the specified status. final route for status ๐Ÿ“Ÿ
  • --final-route-host โ€” adds a final route based on Host header. final route based on Host header ๐Ÿท๏ธ
  • --final-route-uri โ€” adds a final route based on REQUEST_URI. final route based on REQUEST_URI ๐Ÿ”—
  • --final-route-qs โ€” adds a final route based on QUERY_STRING. final route based on QUERY_STRING โ“
  • --final-route-remote-addr โ€” adds a final route based on REMOTE_ADDR. final route based on REMOTE_ADDR ๐ŸŒ
  • --final-route-user-agent โ€” adds a final route based on HTTP_USER_AGENT. final route based on HTTP_USER_AGENT ๐Ÿ•ต๏ธ
  • --final-route-remote-user โ€” adds a final route based on REMOTE_USER. final route based on REMOTE_USER ๐Ÿ‘ค
  • --final-route-referer โ€” adds a final route based on HTTP_REFERER. final route based on HTTP_REFERER ๐Ÿ”™
  • --final-route-label โ€” adds a final routing label (for use with goto). final routing label, for goto ๐Ÿท๏ธ
  • --final-route-if โ€” adds a final route based on condition. final route based on condition ๐Ÿค”
  • --final-route-if-not โ€” adds a final route based on condition (negate version). final route based on condition, negate version ๐Ÿ™ƒ
  • --final-route-run โ€” always runs the specified final route action. always run final route action ๐Ÿƒ
  • --error-route โ€” adds an error route. error route, added ๐Ÿšจ
  • --error-route-status โ€” adds an error route for the specified status. error route for status ๐Ÿ“Ÿ
  • --error-route-host โ€” adds an error route based on Host header. error route based on Host header ๐Ÿท๏ธ
  • --error-route-uri โ€” adds an error route based on REQUEST_URI. error route based on REQUEST_URI ๐Ÿ”—
  • --error-route-qs โ€” adds an error route based on QUERY_STRING. error route based on QUERY_STRING โ“
  • --error-route-remote-addr โ€” adds an error route based on REMOTE_ADDR. error route based on REMOTE_ADDR ๐ŸŒ
  • --error-route-user-agent โ€” adds an error route based on HTTP_USER_AGENT. error route based on HTTP_USER_AGENT ๐Ÿ•ต๏ธ
  • --error-route-remote-user โ€” adds an error route based on REMOTE_USER. error route based on REMOTE_USER ๐Ÿ‘ค
  • --error-route-referer โ€” adds an error route based on HTTP_REFERER. error route based on HTTP_REFERER ๐Ÿ”™
  • --error-route-label โ€” adds an error routing label (for use with goto). error routing label, for goto ๐Ÿท๏ธ
  • --error-route-if โ€” adds an error route based on condition. error route based on condition ๐Ÿค”
  • --error-route-if-not โ€” adds an error route based on condition (negate version). error route based on condition, negate version ๐Ÿ™ƒ
  • --error-route-run โ€” always runs the specified error route action. always run error route action ๐Ÿƒ
  • --response-route โ€” adds a response route. response route, added ๐Ÿ“ฌ
  • --response-route-status โ€” adds a response route for the specified status. response route for status ๐Ÿ“Ÿ
  • --response-route-host โ€” adds a response route based on Host header. response route based on Host header ๐Ÿท๏ธ
  • --response-route-uri โ€” adds a response route based on REQUEST_URI. response route based on REQUEST_URI ๐Ÿ”—
  • --response-route-qs โ€” adds a response route based on QUERY_STRING. response route based on QUERY_STRING โ“
  • --response-route-remote-addr โ€” adds a response route based on REMOTE_ADDR. response route based on REMOTE_ADDR ๐ŸŒ
  • --response-route-user-agent โ€” adds a response route based on HTTP_USER_AGENT. response route based on HTTP_USER_AGENT ๐Ÿ•ต๏ธ
  • --response-route-remote-user โ€” adds a response route based on REMOTE_USER. response route based on REMOTE_USER ๐Ÿ‘ค
  • --response-route-referer โ€” adds a response route based on HTTP_REFERER. response route based on HTTP_REFERER ๐Ÿ”™
  • --response-route-label โ€” adds a response routing label (for use with goto). response routing label, for goto ๐Ÿท๏ธ
  • --response-route-if โ€” adds a response route based on condition. response route based on condition ๐Ÿค”
  • --response-route-if-not โ€” adds a response route based on condition (negate version). response route based on condition, negate version ๐Ÿ™ƒ
  • --response-route-run โ€” always runs the specified response route action. always run response route action ๐Ÿƒ
  • --router-list โ€” lists enabled routers. list routers, periodt ๐Ÿ“‹
  • --routers-list โ€” lists enabled routers. alias, same list energy โœจ
  • --error-page-403 โ€” adds an error page (html) for managed 403 response. 403 error page, html ๐Ÿšซ
  • --error-page-404 โ€” adds an error page (html) for managed 404 response. 404 error page, html ๐Ÿ”
  • --error-page-500 โ€” adds an error page (html) for managed 500 response. 500 error page, html ๐Ÿ’ฅ
  • --websockets-ping-freq โ€” sets the frequency (in seconds) of websockets automatic ping packets. ping freq, in seconds ๐Ÿ“
  • --websocket-ping-freq โ€” sets the frequency (in seconds) of websockets automatic ping packets. alias, same ping energy ๐Ÿ“
  • --websockets-pong-tolerance โ€” sets the tolerance (in seconds) of websockets ping/pong subsystem. pong tolerance, in seconds ๐Ÿ“
  • --websocket-pong-tolerance โ€” sets the tolerance (in seconds) of websockets ping/pong subsystem. alias, same tolerance vibes ๐Ÿ“
  • --websockets-max-size โ€” sets the max allowed size of websocket messages (in Kbytes, default 1024). max size, in Kbytes, default 1024 ๐Ÿ“ฆ
  • --websocket-max-size โ€” sets the max allowed size of websocket messages (in Kbytes, default 1024). alias, same max size energy ๐Ÿ“ฆ
  • --chunked-input-limit โ€” sets the max size of a chunked input part (default 1MB, in bytes). chunked input limit, default 1MB in bytes ๐Ÿงฉ
  • --chunked-input-timeout โ€” sets default timeout for chunked input. chunked input timeout, set it โณ
  • --clock โ€” sets a clock source. clock source, set it โฐ
  • --clock-list โ€” lists enabled clocks. list those clocks, periodt ๐Ÿ•ฐ๏ธ
  • --clocks-list โ€” lists all the clocks that are enabled rn โฐ
  • --add-header โ€” automatically adds HTTP headers to the response for you, no manual labour ๐Ÿ’…
  • --rem-header โ€” automatically removes a specified HTTP header from the response
  • --del-header โ€” same energy as --rem-header, it automatically removes a specified HTTP header from the response ๐Ÿ—‘๏ธ
  • --collect-header โ€” stores the specified response header in a request var (syntax: header var)
  • --response-header-collect โ€” stores the specified response header in a request var (syntax: header var)
  • --pull-header โ€” stores the specified response header in a request var and removes it from the response (syntax: header var) โ€” it's giving grab-and-go โœจ
  • --check-static โ€” checks for static files in the directory you specify ๐Ÿ“‚
  • --check-static-docroot โ€” checks for static files in the requested DOCUMENT_ROOT
  • --static-check โ€” checks for static files in the directory you specify
  • --static-map โ€” maps a mountpoint to a static directory (or a file) ๐Ÿ—บ๏ธ
  • --static-map2 โ€” like --static-map but it completely appends the requested resource to the docroot
  • --static-skip-ext โ€” skips the specified extension from staticfile checks ๐Ÿ™ˆ
  • --static-index โ€” searches for the specified file if a directory is requested
  • --static-safe โ€” skips security checks if the file is under the specified path ๐Ÿ›ก๏ธ
  • --static-cache-paths โ€” puts resolved paths in the uWSGI cache for the specified amount of seconds
  • --static-cache-paths-name โ€” uses the specified cache for static paths
  • --mimefile โ€” sets the mime types file path (default /etc/mime.types)
  • --mime-file โ€” sets the mime types file path (default /etc/mime.types)
  • --static-expires-type โ€” sets the Expires header based on content type
  • --static-expires-type-mtime โ€” sets the Expires header based on content type and file mtime
  • --static-expires โ€” sets the Expires header based on a filename regexp
  • --static-expires-mtime โ€” sets the Expires header based on a filename regexp and file mtime
  • --static-expires-uri โ€” sets the Expires header based on a REQUEST_URI regexp
  • --static-expires-uri-mtime โ€” sets the Expires header based on a REQUEST_URI regexp and file mtime
  • --static-expires-path-info โ€” sets the Expires header based on a PATH_INFO regexp
  • --static-expires-path-info-mtime โ€” sets the Expires header based on a PATH_INFO regexp and file mtime
  • --static-gzip โ€” if the regexp you supply matches the static file translation, it will search for a gzip version ๐Ÿ—œ๏ธ
  • --static-gzip-all โ€” checks for a gzip version of all requested static files
  • --static-gzip-dir โ€” checks for a gzip version of all requested static files in the specified dir/prefix
  • --static-gzip-prefix โ€” checks for a gzip version of all requested static files in the specified dir/prefix
  • --static-gzip-ext โ€” checks for a gzip version of all requested static files with the specified ext/suffix
  • --static-gzip-suffix โ€” checks for a gzip version of all requested static files with the specified ext/suffix
  • --honour-range โ€” enables support for the HTTP Range header ๐Ÿ“
  • --offload-threads โ€” sets the number of offload threads to spawn (per-worker, default 0)
  • --offload-thread โ€” sets the number of offload threads to spawn (per-worker, default 0)
  • --file-serve-mode โ€” sets the static file serving mode
  • --fileserve-mode โ€” sets the static file serving mode
  • --disable-sendfile โ€” disables sendfile() and relies on boring read()/write() instead ๐Ÿ˜ด
  • --check-cache โ€” checks for response data in the specified cache (empty for the default cache)
  • --close-on-exec โ€” sets close-on-exec on connection sockets (could be required for spawning processes in requests)
  • --close-on-exec2 โ€” sets close-on-exec on server sockets (could be required for spawning processes in requests)
  • --mode โ€” sets uWSGI custom mode
  • --env โ€” sets an environment variable ๐ŸŒฑ
  • --envdir โ€” loads a daemontools compatible envdir
  • --early-envdir โ€” loads a daemontools compatible envdir ASAP โšก
  • --unenv โ€” unsets an environment variable
  • --vacuum โ€” tries to remove all of the generated file/sockets ๐Ÿงน
  • --file-write โ€” writes the specified content to the specified file (syntax: file=value) before privileges drop
  • --cgroup โ€” puts the processes in the specified cgroup
  • --cgroup-opt โ€” sets a value in the specified cgroup option
  • --cgroup-dir-mode โ€” sets permission for the cgroup directory (default is 700)
  • --namespace โ€” runs in a new namespace under the specified rootfs
  • --namespace-keep-mount โ€” keeps the specified mountpoint in your namespace
  • --ns โ€” runs in a new namespace under the specified rootfs
  • --namespace-net โ€” adds a network namespace ๐ŸŒ
  • --ns-net โ€” adds a network namespace
  • --enable-proxy-protocol โ€” enables PROXY1 protocol support (only for http parsers)
  • --reuse-port โ€” enables the REUSE_PORT flag on socket (BSD only)
  • --tcp-fast-open โ€” enables the TCP_FASTOPEN flag on TCP sockets with the specified qlen value ๐Ÿš€
  • --tcp-fastopen โ€” enables the TCP_FASTOPEN flag on TCP sockets with the specified qlen value
  • --tcp-fast-open-client โ€” uses sendto(..., MSG_FASTOPEN, ...) instead of connect() if supported
  • --tcp-fastopen-client โ€” uses sendto(..., MSG_FASTOPEN, ...) instead of connect() if supported
  • --zerg โ€” attaches to a zerg server ๐Ÿ›
  • --zerg-fallback โ€” falls back to normal sockets if the zerg server is not available
  • --zerg-server โ€” enables the zerg server on the specified UNIX socket
  • --cron โ€” adds a cron task โณ
  • --cron2 โ€” adds a cron task (key=val syntax)
  • --unique-cron โ€” adds a unique cron task
  • --cron-harakiri โ€” sets the maximum time (in seconds) we wait for the cron command to complete ๐Ÿ’€
  • --legion-cron โ€” adds a cron task runnable only when the instance is a lord of the specified legion ๐Ÿ‘‘
  • --cron-legion โ€” adds a cron task runnable only when the instance is a lord of the specified legion
  • --unique-legion-cron โ€” adds a unique cron task runnable only when the instance is a lord of the specified legion
  • --unique-cron-legion โ€” adds a unique cron task runnable only when the instance is a lord of the specified legion
  • --loop โ€” selects the uWSGI loop engine ๐Ÿ”
  • --loop-list โ€” lists enabled loop engines
  • --loops-list โ€” lists enabled loop engines
  • --worker-exec โ€” runs the specified command as worker
  • --worker-exec2 โ€” runs the specified command as worker (after the post_fork hook)
  • --attach-daemon โ€” attaches a command/daemon to the master process (the command has to not go in background)
  • --attach-control-daemon โ€” attaches a command/daemon to the master process (the command has to not go in background); when the daemon dies, the master dies too ๐Ÿ˜ต
  • --smart-attach-daemon โ€” attaches a command/daemon to the master process managed by a pidfile (the command has to daemonize)
  • --smart-attach-daemon2 โ€” attaches a command/daemon to the master process managed by a pidfile (the command has to NOT daemonize)
  • --legion-attach-daemon โ€” same as --attach-daemon but the daemon runs only on the legion lord node
  • --legion-smart-attach-daemon โ€” same as --smart-attach-daemon but the daemon runs only on the legion lord node
  • --legion-smart-attach-daemon2 โ€” same as --smart-attach-daemon2 but the daemon runs only on the legion lord node
  • --daemons-honour-stdin โ€” does not change the stdin of external daemons to /dev/null
  • --attach-daemon2 โ€” the attach-daemon keyval variant (supports smart modes too)
  • --plugins โ€” loads uWSGI plugins ๐Ÿงฉ
  • --plugin โ€” loads uWSGI plugins
  • --need-plugins โ€” loads uWSGI plugins (exit on error)
  • --need-plugin โ€” loads uWSGI plugins (exit on error)
  • --plugins-dir โ€” adds a directory to the uWSGI plugin search path
  • --plugin-dir โ€” adds a directory to the uWSGI plugin search path
  • --plugins-list โ€” lists enabled plugins
  • --plugin-list โ€” lists enabled plugins
  • --autoload โ€” tries to automatically load plugins when unknown options are found ๐Ÿค–
  • --dlopen โ€” blindly loads a shared library ๐Ÿ™ˆ
  • --allowed-modifiers โ€” comma separated list of allowed modifiers
  • --remap-modifier โ€” remaps a request modifier from one id to another
  • --dump-options โ€” dumps the full list of available options ๐Ÿ—’๏ธ
  • --show-config โ€” shows the current config reformatted as ini
  • --binary-append-data โ€” returns the content of a resource to stdout for appending to a uwsgi binary (for data:// usage)
  • --print โ€” simple print ๐Ÿ–จ๏ธ
  • --iprint โ€” simple print (immediate version)
  • --exit โ€” forces exit() of the instance
  • --cflags โ€” reports uWSGI CFLAGS (useful for building external plugins)
  • --dot-h โ€” dumps the uwsgi.h used for building the core (useful for building external plugins)
  • --config-py โ€” dumps the uwsgiconfig.py used for building the core (useful for building external plugins)
  • --build-plugin โ€” builds a uWSGI plugin for the current binary
  • --version โ€” prints the uWSGI version
  • --response-headers-limit โ€” sets the response header maximum size (default: 64k)

and that's a wrap on the options, bestie โ€” you ate that whole list ๐Ÿ’– This page is from uwsgi_luajit version 2.0.31-2, dated February 2026, and it lives in section UWSGI_LUAJIT(1). Go forth and configure something iconic โœจ๐Ÿฆ‹๐Ÿ‘‘

๐Ÿ“ฆ where this page comes from