UWSGI_LDAP(1)

๐Ÿ’– UWSGI_LDAP(1) ๐Ÿ’–

okay so this page is UWSGI_LDAP(1), and it lives in the User Commands manual. Buckle up bestie, we're about to go through every single option and it's a lot, but it's all here, no cap. โœจ


โœจ NAME โœจ

uwsgi_ldap โ€” fast (pure C), self-healing, developer-friendly WSGI server.


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

uwsgi-core [options...]

๐Ÿ’… DESCRIPTION ๐Ÿ’…

okay so literally every flag and option is about to be listed, and yes, we're keeping all of them. every single one. periodt. ๐Ÿซถ

  • -s, --socket โ€” binds to the specified UNIX/TCP socket using default protocol. ๐Ÿ’–
  • -s, --uwsgi-socket โ€” binds to the specified UNIX/TCP socket using uwsgi protocol.
  • --suwsgi-socket โ€” binds to the specified UNIX/TCP socket using uwsgi protocol over SSL. ๐Ÿ”’
  • --ssl-socket โ€” binds to the specified UNIX/TCP socket using uwsgi protocol over SSL. same energy.
  • --http-socket โ€” binds to the specified UNIX/TCP socket using HTTP protocol. ๐ŸŒ
  • --http-socket-modifier1 โ€” forces the specified modifier1 when using HTTP protocol.
  • --http-socket-modifier2 โ€” forces the specified modifier2 when using HTTP protocol.
  • --http11-socket โ€” binds to the specified UNIX/TCP socket using HTTP 1.1 (Keep-Alive) protocol.
  • --https-socket โ€” binds to the specified UNIX/TCP socket using HTTPS protocol. ๐Ÿ”
  • --https-socket-modifier1 โ€” forces the specified modifier1 when using HTTPS protocol.
  • --https-socket-modifier2 โ€” forces the specified modifier2 when using HTTPS protocol.
  • --fastcgi-socket โ€” binds to the specified UNIX/TCP socket using FastCGI protocol.
  • --fastcgi-nph-socket โ€” binds to the specified UNIX/TCP socket using FastCGI protocol (nph mode). ๐Ÿ˜Ž
  • --fastcgi-modifier1 โ€” forces the specified modifier1 when using FastCGI protocol.
  • --fastcgi-modifier2 โ€” forces the specified modifier2 when using FastCGI protocol.
  • --scgi-socket โ€” binds to the specified UNIX/TCP socket using SCGI protocol.
  • --scgi-nph-socket โ€” binds to the specified UNIX/TCP socket using SCGI protocol (nph mode).
  • --scgi-modifier1 โ€” forces the specified modifier1 when using SCGI protocol.
  • --scgi-modifier2 โ€” forces the specified modifier2 when using SCGI protocol.
  • --raw-socket โ€” binds to the specified UNIX/TCP socket using RAW protocol.
  • --raw-modifier1 โ€” forces the specified modifier1 when using RAW protocol.
  • --raw-modifier2 โ€” forces the specified modifier2 when using RAW protocol.
  • --puwsgi-socket โ€” binds to the specified UNIX/TCP socket using persistent uwsgi protocol (puwsgi).
  • --protocol โ€” forces the specified protocol for default sockets.
  • --socket-protocol โ€” forces the specified protocol for default sockets. twin behavior fr fr.
  • --shared-socket โ€” creates a shared socket for advanced jailing or ipc.
  • --undeferred-shared-socket โ€” creates a shared socket for advanced jailing or ipc (undeferred mode).
  • -p, --processes โ€” spawns the specified number of workers/processes.
  • -p, --workers โ€” spawns the specified number of workers/processes. yes same -p, iconic.
  • --thunder-lock โ€” serializes accept() usage (if possible).
  • -t, --harakiri โ€” sets harakiri timeout. โณ
  • --harakiri-verbose โ€” enables verbose mode for harakiri.
  • --harakiri-graceful-timeout โ€” interval between graceful harakiri attempt and a sigkill.
  • --harakiri-graceful-signal โ€” uses this signal instead of sigterm for graceful harakiri attempts.
  • --harakiri-queue-threshold โ€” only triggers harakiri if queue is greater than this threshold.
  • --harakiri-no-arh โ€” does not enable harakiri during after-request-hook.
  • --no-harakiri-arh โ€” does not enable harakiri during after-request-hook.
  • --no-harakiri-after-req-hook โ€” does not enable harakiri during after-request-hook.
  • --backtrace-depth โ€” sets backtrace depth.
  • --mule-harakiri โ€” sets harakiri timeout for mule tasks.
  • -x, --xmlconfig โ€” loads config from xml file.
  • -x, --xml โ€” loads config from xml file.
  • --config โ€” loads configuration using the pluggable system.
  • --fallback-config โ€” re-execs uwsgi with the specified config when exit code is 1.
  • --strict โ€” enables strict mode (placeholder cannot be used).
  • --skip-zero โ€” skips check of file descriptor 0.
  • --skip-atexit โ€” skips atexit hooks (ignored by the master).
  • --skip-atexit-teardown โ€” skips atexit teardown (ignored by the master).
  • -S, --set โ€” sets a placeholder or an option.
  • --set-placeholder โ€” sets a placeholder.
  • --set-ph โ€” sets a placeholder.
  • --get โ€” prints the specified option value and exits.
  • --declare-option โ€” declares a new uWSGI custom option.
  • --declare-option2 โ€” declares a new uWSGI custom option (non-immediate).
  • --resolve โ€” places 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 โ€” sets options blacklist context.
  • --end-blacklist โ€” clears options blacklist context.
  • --whitelist โ€” sets options whitelist context.
  • --end-whitelist โ€” clears options whitelist context.
  • --ignore-sigpipe โ€” does not report (annoying) SIGPIPE.
  • --ignore-write-errors โ€” does not report (annoying) write()/writev() errors.
  • --write-errors-tolerance โ€” sets the maximum number of allowed write errors (default: no tolerance).
  • --write-errors-exception-only โ€” only raises an exception on write errors giving control to the app itself.
  • --disable-write-exception โ€” disables exception generation on write()/writev().
  • --inherit โ€” uses the specified file as config template.
  • --include โ€” includes the specified file as immediate configuration.
  • --inject-before โ€” injects a text file before the config file (advanced templating).
  • --inject-after โ€” injects a text file after the config file (advanced templating).
  • -d, --daemonize โ€” daemonizes uWSGI. ๐Ÿ‘ป
  • --daemonize2 โ€” daemonizes uWSGI after app loading.
  • --stop โ€” stops an instance. ๐Ÿ›‘
  • --reload โ€” reloads an instance.
  • --pause โ€” pauses an instance.
  • --suspend โ€” suspends an instance.
  • --resume โ€” resumes an instance.
  • --connect-and-read โ€” connects to a socket and waits for data from it.
  • --extract โ€” fetches/dumps any supported address to stdout.
  • -l, --listen โ€” sets the socket listen queue size.
  • -v, --max-vars โ€” sets the amount of internal iovec/vars structures.
  • --max-apps โ€” sets the maximum number of per-worker applications.
  • -b, --buffer-size โ€” sets internal buffer size.
  • -m, --memory-report โ€” enables memory report.
  • --profiler โ€” enables the specified profiler.
  • -c, --cgi-mode โ€” forces CGI-mode for plugins supporting it.
  • -a, --abstract-socket โ€” forces UNIX socket in abstract mode (Linux only). ๐Ÿง
  • -C, --chmod-socket โ€” chmod-socket.
  • -C, --chmod โ€” chmod-socket.
  • --chown-socket โ€” chown unix sockets.
  • --umask โ€” sets umask.
  • --freebind โ€” puts socket in freebind mode.
  • --map-socket โ€” maps sockets to specific workers.
  • -T, --enable-threads โ€” enables threads (stub option this is true by default).
  • --no-threads-wait โ€” does not wait for threads cancellation on quit/reload.
  • --auto-procname โ€” automatically sets processes name to something meaningful.
  • --procname-prefix โ€” adds a prefix to the process names.
  • --procname-prefix-spaced โ€” adds a spaced prefix to the process names.
  • --procname-append โ€” appends a string to process names.
  • --procname โ€” sets process names.
  • --procname-master โ€” sets master process name.
  • -i, --single-interpreter โ€” does not use multiple interpreters (where available).
  • --need-app โ€” exits if no app can be loaded.
  • -M, --master โ€” enables master process. ๐Ÿ‘‘
  • --honour-stdin โ€” does not remap stdin to /dev/null.
  • --emperor โ€” runs the Emperor.
  • --emperor-proxy-socket โ€” forces the vassal to became an Emperor proxy.
  • --emperor-wrapper โ€” sets a binary wrapper for vassals.
  • --emperor-wrapper-override โ€” sets a binary wrapper for vassals to try before the default one.
  • --emperor-wrapper-fallback โ€” sets a binary wrapper for vassals to try as a last resort.
  • --emperor-nofollow โ€” does not follow symlinks when checking for mtime.
  • --emperor-procname โ€” sets the Emperor process name.
  • --emperor-freq โ€” sets the Emperor scan frequency (default 3 seconds).
  • --emperor-required-heartbeat โ€” sets the Emperor tolerance about heartbeats.
  • --emperor-curse-tolerance โ€” sets the Emperor tolerance about cursed vassals. ๐Ÿ’€
  • --emperor-pidfile โ€” writes the Emperor's pid into the file you point at ๐Ÿ’– classic move, keeps that imperial ID on paper.
  • --emperor-tyrant โ€” puts the Emperor into Tyrant mode ๐Ÿ‘‘ dramatic name, dramatic behavior.
  • --emperor-tyrant-nofollow โ€” in Tyrant mode, when it's checking for uid/gid, it will not follow symlinks. no shortcuts, bestie ๐Ÿ™ˆ
  • --emperor-stats โ€” runs the Emperor stats server โœจ numbers, but for royalty.
  • --emperor-stats-server โ€” also runs the Emperor stats server. same energy, different spelling of the flag ๐Ÿซถ
  • --early-emperor โ€” spawns the emperor as soon as possible โšก no waiting around, she's eager.
  • --emperor-broodlord โ€” runs the emperor in BroodLord mode. that's the name. yes really. iconic ๐Ÿ’…
  • --emperor-throttle โ€” sets the throttling level, in milliseconds, for badly behaved vassals. default is 1000 ๐Ÿ• misbehave and you get slowed down, fr fr.
  • --emperor-max-throttle โ€” sets the max throttling level, in milliseconds, for badly behaved vassals. default is 3 minutes ๐Ÿ˜ญ the ceiling of the timeout zone.
  • --emperor-magic-exec โ€” prefixes vassals' config files with exec:// if they have the executable bit โœจ magic indeed.
  • --emperor-on-demand-extension โ€” searches for a text file named vassal name + extension that contains the on demand socket name ๐Ÿ”
  • --emperor-on-demand-ext โ€” same thing, shorter flag: searches for a text file (vassal name + extension) holding the on demand socket name ๐ŸŽ€
  • --emperor-on-demand-directory โ€” turns on on demand mode, binding to the unix socket in the specified directory, named like the vassal + .socket ๐Ÿฆ‹
  • --emperor-on-demand-dir โ€” yep, the short version of that: on demand mode, unix socket in the given directory, named like the vassal + .socket ๐Ÿ’œ
  • --emperor-on-demand-exec โ€” uses the output of the specified command as the on demand socket name; the vassal name gets passed as the only argument ๐Ÿซก
  • --emperor-extra-extension โ€” allows the specified extension in the Emperor; the vassal gets called with --config ๐ŸŒธ
  • --emperor-extra-ext โ€” the abbreviated twin: allows the specified extension in the Emperor, vassal called with --config โญ
  • --emperor-no-blacklist โ€” disables the Emperor blacklisting subsystem ๐Ÿšซ
  • --emperor-use-clone โ€” uses clone() instead of fork(), passing the specified unshare() flags ๐Ÿงฌ
  • --emperor-graceful-shutdown โ€” makes it use vassals graceful shutdown during ragnarok ๐Ÿ’€ yes, ragnarok is the actual word. end times, but politely.
  • --emperor-cap โ€” sets vassals capability โœจ
  • --vassals-cap โ€” sets vassals capability (same thing, plural-flavored) ๐Ÿ’–
  • --vassal-cap โ€” sets vassals capability (same thing, singular-flavored) ๐ŸŽ€

  • --imperial-monitor-list โ€” lists the enabled imperial monitors ๐Ÿ‘‘
  • --imperial-monitors-list โ€” also lists the enabled imperial monitors. one letter of difference, same list ๐ŸŒˆ
  • --vassals-inherit โ€” adds config templates to vassals' config, using --inherit ๐Ÿงš
  • --vassals-include โ€” includes config templates into vassals' config, using --include instead of --inherit ๐Ÿ’œ
  • --vassals-inherit-before โ€” adds config templates to vassals' config using --inherit, but parses them before the vassal file โฎ๏ธ
  • --vassals-include-before โ€” includes config templates into vassals' config using --include instead of --inherit, parsed before the vassal file โช
  • --vassals-start-hook โ€” runs the specified command before each vassal starts ๐Ÿ
  • --vassals-stop-hook โ€” runs the specified command after a vassal's death ๐Ÿชฆ
  • --vassal-sos โ€” asks the emperor for reinforcement when overloaded ๐Ÿ†˜
  • --vassal-sos-backlog โ€” asks the emperor for an SOS if the backlog queue has more items than the value specified ๐Ÿ˜ฐ
  • --vassals-set โ€” automatically sets the specified option (via --set) for every vassal ๐ŸŽ
  • --vassal-set โ€” same deal, singular flag: automatically sets the specified option (via --set) for every vassal ๐Ÿ’–
  • --heartbeat โ€” announces healthiness to the emperor ๐Ÿ’“
  • --reload-mercy โ€” sets the max time in seconds we wait for workers and other processes to die during reload/shutdown ๐Ÿ•ฐ๏ธ
  • --worker-reload-mercy โ€” sets the max time in seconds a worker can take to reload/shutdown. default is 60 ๐Ÿ˜Œ
  • --mule-reload-mercy โ€” sets the max time in seconds a mule can take to reload/shutdown. default is 60 ๐Ÿด
  • --exit-on-reload โ€” forces exit even if a reload was requested ๐Ÿšช
  • --die-on-term โ€” exit instead of doing a brutal reload on SIGTERM โšฐ๏ธ
  • --force-gateway โ€” forces the spawn of the first registered gateway without a master ๐Ÿš€
  • -h|--help โ€” shows this help ๐Ÿซถ
  • -h|--usage โ€” shows this help (yes, same -h, different long name) โœจ

  • --print-sym โ€” prints the content of the specified binary symbol ๐Ÿ”
  • --print-symbol โ€” prints the content of the specified binary symbol (longer flag, same output) ๐Ÿ’…
  • -r|--reaper โ€” calls waitpid(-1,...) after each request to get rid of zombies ๐ŸงŸ no cap, it's a zombie cleanup service.
  • -R|--max-requests โ€” reloads workers after the specified amount of managed requests ๐Ÿ”„
  • --max-requests-delta โ€” adds (worker_id * delta) to the max_requests value of each worker ๐Ÿงฎ
  • --min-worker-lifetime โ€” number of seconds a worker must run before being reloaded. default is 10 โณ
  • --max-worker-lifetime โ€” reloads workers after the specified amount of seconds. default is disabled ๐Ÿšซ
  • --max-worker-lifetime-delta โ€” adds (worker_id * delta) seconds to the max_worker_lifetime value of each worker ๐Ÿงฎ
  • -z|--socket-timeout โ€” sets the internal sockets timeout โฑ๏ธ
  • --no-fd-passing โ€” disables file descriptor passing ๐Ÿšซ
  • --locks โ€” creates the specified number of shared locks ๐Ÿ”
  • --lock-engine โ€” sets the lock engine โš™๏ธ
  • --ftok โ€” sets the ipcsem key via ftok() for avoiding duplicates ๐Ÿ”‘
  • --persistent-ipcsem โ€” does not remove ipcsem's on shutdown ๐Ÿซถ they stay.
  • -A|--sharedarea โ€” creates a raw shared memory area of the specified pages. note: it supports keyval too โœจ
  • --safe-fd โ€” do not close the specified file descriptor ๐Ÿ›Ÿ
  • --fd-safe โ€” do not close the specified file descriptor (same safety, flags swapped around) ๐Ÿ’–

  • --cache โ€” creates a shared cache containing the given elements ๐Ÿ—ƒ๏ธ
  • --cache-blocksize โ€” sets the cache blocksize ๐Ÿ“ฆ
  • --cache-store โ€” enables a persistent cache to disk ๐Ÿ’พ
  • --cache-store-sync โ€” sets the frequency of sync for the persistent cache ๐Ÿ”
  • --cache-no-expire โ€” disables the auto sweep of expired items ๐ŸงนโŒ
  • --cache-expire-freq โ€” sets the frequency of cache sweeper scans. default is 3 seconds โฒ๏ธ
  • --cache-report-freed-items โ€” constantly reports the cache item freed by the sweeper. use only for debug ๐Ÿ›
  • --cache-udp-server โ€” binds the cache udp server (used only for set/update/delete) to the specified socket ๐Ÿ“ก
  • --cache-udp-node โ€” sends cache update/deletion to the specified cache udp server ๐Ÿ“ค
  • --cache-sync โ€” copies the whole content of another uWSGI cache server on server startup ๐Ÿ“‹
  • --cache-use-last-modified โ€” updates the last_modified_at timestamp on every cache item modification. default is disabled ๐Ÿ•
  • --add-cache-item โ€” adds an item in the cache โž•
  • --load-file-in-cache โ€” loads a static file in the cache ๐Ÿ“„
  • --load-file-in-cache-gzip โ€” loads a static file in the cache with gzip compression ๐Ÿ—œ๏ธ
  • --cache2 โ€” creates a new generation shared cache (keyval syntax) ๐ŸŒฑ
  • --queue โ€” enables the shared queue ๐Ÿ“ฌ
  • --queue-blocksize โ€” sets the queue blocksize ๐Ÿ“
  • --queue-store โ€” enables a persistent queue to disk ๐Ÿ’พ
  • --queue-store-sync โ€” sets the frequency of sync for the persistent queue ๐Ÿ”

  • -Q|--spooler โ€” runs a spooler on the specified directory ๐ŸŒ€
  • --spooler-external โ€” maps spoolers' requests to a spooler directory managed by an external instance ๐ŸŒ
  • --spooler-ordered โ€” tries to order the execution of spooler tasks ๐Ÿ“‹
  • --spooler-chdir โ€” chdir()s to the specified directory before each spooler task ๐Ÿ“‚
  • --spooler-processes โ€” sets the number of processes for spoolers ๐Ÿ‘ฏ
  • --spooler-quiet โ€” do not be verbose with spooler tasks ๐Ÿคซ
  • --spooler-max-tasks โ€” sets the maximum number of tasks to run before recycling a spooler ๐Ÿ”„
  • --spooler-harakiri โ€” sets the harakiri timeout for spooler tasks ๐Ÿ—ก๏ธ
  • --spooler-frequency โ€” sets the spooler frequency ๐ŸŽต
  • --spooler-freq โ€” sets the spooler frequency (short flag, same beat) ๐ŸŽถ
  • --mule โ€” adds a mule ๐Ÿด
  • --mules โ€” adds the specified number of mules ๐Ÿด๐Ÿด๐Ÿด
  • --farm โ€” adds a mule farm ๐Ÿšœ
  • --mule-msg-size โ€” sets the mule message buffer size ๐Ÿ“จ
  • --signal โ€” sends a uwsgi signal to a server ๐Ÿ“ถ
  • --signal-bufsize โ€” sets the buffer size for the signal queue ๐Ÿ“ฅ
  • --signals-bufsize โ€” sets the buffer size for the signal queue (same, plural flag representation) ๐Ÿ“ค
  • --signal-timer โ€” adds a timer. syntax: <signal> <seconds> โฐ
  • --timer โ€” adds a timer. syntax: <signal> <seconds> โฐ (same timer, less typing)
  • --signal-rbtimer โ€” adds a redblack timer. syntax: <signal> <seconds> ๐ŸŒณ
  • --rbtimer โ€” adds a redblack timer. syntax: <signal> <seconds> ๐ŸŒณ (short flag energy)
  • --rpc-max โ€” maximum number of rpc slots. default: 64 ๐ŸŽฐ
  • -L|--disable-logging โ€” disables request logging ๐Ÿ”‡

  • --flock โ€” locks the specified file before starting, and exits if it's locked ๐Ÿ”’
  • --flock-wait โ€” locks the specified file before starting, and waits if it's locked โณ
  • --flock2 โ€” locks the specified file after logging/daemon setup, exits if locked ๐Ÿ”
  • --flock-wait2 โ€” locks the specified file after logging/daemon setup, waits if locked โŒ›
  • --pidfile โ€” creates a pidfile, before the privileges drop ๐Ÿ“
  • --pidfile2 โ€” creates a pidfile, after the privileges drop ๐Ÿ“
  • --safe-pidfile โ€” creates a safe pidfile, before the privileges drop ๐Ÿ›Ÿ
  • --safe-pidfile2 โ€” creates a safe pidfile, after the privileges drop ๐Ÿ›Ÿ
  • --chroot โ€” chroot()s to the specified directory ๐Ÿ“
  • --pivot-root โ€” pivot_root()s to the specified directories. new_root and put_old must be separated with a space ๐ŸŒณ
  • --pivot_root โ€” pivot_root()s to the specified directories. new_root and put_old must be separated with a space (underscore edition ๐Ÿซถ)
  • --uid โ€” setuid to the specified user/uid ๐Ÿ‘ค
  • --gid โ€” setgid to the specified group/gid ๐Ÿ‘ฅ
  • --add-gid โ€” adds the specified group id to the process credentials โž•
  • --immediate-uid โ€” setuid to the specified user/uid IMMEDIATELY โšก
  • --immediate-gid โ€” setgid to the specified group/gid IMMEDIATELY โšก
  • --no-initgroups โ€” disables additional groups set via initgroups() ๐Ÿšซ
  • --cap โ€” sets process capability โœจ
  • --unshare โ€” unshare()s part of the processes and puts it in a new namespace ๐Ÿงฌ
  • --unshare2 โ€” unshare()s part of the processes and puts it in a new namespace, but after the rootfs change ๐Ÿ”„
  • --setns-socket โ€” exposes a unix socket returning namespace fds from /proc/self/ns ๐Ÿ”Œ
  • --setns-socket-skip โ€” skips the specified entry when sending setns file descriptors โญ๏ธ
  • --setns-skip โ€” skips the specified entry when sending setns file descriptors (short flag, same skip) ๐Ÿ’ซ
  • --setns โ€” joins a namespace created by an external uWSGI instance ๐Ÿค
  • --setns-preopen โ€” opens /proc/self/ns as soon as possible and caches fds ๐Ÿ—‚๏ธ

โœจ OPTIONS โœจ

  • --jailed โ€” marks the instance as jailed, which forces the execution of post_jail hooks. so if you want those hooks to actually do their thing, this is the vibe. no cap. ๐Ÿ’…
  • --refork โ€” runs fork() again after privileges drop. useful for jailing systems. ๐Ÿฆ‹
  • --re-fork โ€” bestie, this is literally the same as --refork: fork() again after privileges drop, useful for jailing systems. two names, one slay. โœจ
  • --refork-as-root โ€” runs fork() again before privileges drop. useful for jailing systems. ๐Ÿ‘‘
  • --re-fork-as-root โ€” again, same as above: fork() again before privileges drop. useful for jailing systems. ๐Ÿ’–
  • --refork-post-jail โ€” runs fork() again after jailing. useful for jailing systems. ๐ŸŽ€
  • --re-fork-post-jail โ€” yep, same energy: fork() again after jailing. useful for jailing systems. ๐ŸŒ€

  • --hook-asap โ€” run the specified hook as soon as possible. ASAP, literally. โšก
  • --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 enters 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 enters the accepting phase (once per-instance). note the hyphen in per-instance. ๐Ÿ’…
  • --hook-accepting1-once โ€” run the specified hook after the first worker enters the accepting phase (once per instance). no hyphen here, bestie. ๐Ÿ’–
  • --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 sends a stop message. ๐Ÿ›‘
  • --hook-emperor-reload โ€” run the specified hook when the Emperor sends 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. same thing, different name, still iconic. โœจ
  • --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 โ€” keeps an eye on a file for you, and when it gets modified/touched it fires off a signal. Bestie, the syntax is literally: file signal ๐Ÿ’…
  • --fs-reload โ€” when the filesystem object you named gets modified, it does a graceful reload. chill little refresh, no drama โœจ
  • --fs-brutal-reload โ€” same energy but it's giving main character rage: when the filesystem object is modified, it does a brutal reload. no soft launch here ๐Ÿ˜ญ
  • --fs-signal โ€” when the specified filesystem object gets modified, it raises a uwsgi signal. syntax again bestie: file signal ๐ŸŒธ
  • --check-mountpoint โ€” if a filesystem is no longer reachable, it straight up destroys the instance. lowkey savage but it's genuinely useful for reliable Fuse management ๐Ÿซถ
  • --mountpoint-check โ€” exact same vibe: if a filesystem is no longer reachable, the instance gets destroyed. again, useful for reliable Fuse management โœจ
  • --check-mount โ€” yep, same thing: instance gets destroyed if a filesystem is no more reachable, and it's useful for reliable Fuse management ๐Ÿ’–
  • --mount-check โ€” the fourth sibling of this mount-check family: destroys the instance when a filesystem is no more reachable. useful for reliable Fuse management, as always ๐Ÿ’…
  • --propagate-touch โ€” the "over-engineering option" for systems with flaky signal management. iykyk ๐Ÿ˜ญ
  • --limit-post โ€” limits the request body. that's it, that's the option ๐Ÿ’€
  • --no-orphans โ€” automatically kills workers if the master dies. but fr fr, this can be dangerous for availability, so think before you slay ๐Ÿ‘‘
  • --prio โ€” sets the priority of processes/threads ๐ŸŒˆ
  • --cpu-affinity โ€” sets the cpu affinity, so your processes know exactly which core is their home ๐ŸŽ€
  • --post-buffering โ€” sets the size in bytes after which it'll buffer to disk instead of memory ๐Ÿ’พ
  • --post-buffering-bufsize โ€” sets the buffer size for read() in post buffering mode โญ
  • --body-read-warning โ€” sets how much memory allocation (in megabytes) for the request body is allowed before it starts printing a warning ๐Ÿฆ‹
  • --upload-progress โ€” turns on creation of .json files in the directory you specify, while a file upload is happening ๐Ÿ“โœจ
  • --no-default-app โ€” nope, we're not falling back to the default app ๐Ÿ™ˆ
  • --manage-script-name โ€” automatically rewrites SCRIPT_NAME and PATH_INFO for you. it just handles it ๐Ÿ’…
  • --ignore-script-name โ€” ignores SCRIPT_NAME entirely, no thoughts head empty ๐Ÿซถ
  • --catch-exceptions โ€” reports exceptions as http output. discouraged though, bestie โ€” use only for testing ๐Ÿงช
  • --reload-on-exception โ€” reloads a worker when an exception gets raised ๐Ÿ”„
  • --reload-on-exception-type โ€” reloads a worker when a specific exception type is raised ๐Ÿ”ฅ
  • --reload-on-exception-value โ€” reloads a worker when a specific exception value is raised ๐Ÿ’–
  • --reload-on-exception-repr โ€” reloads a worker when a specific exception type+value (language-specific) is raised ๐ŸŒธ
  • --exception-handler โ€” adds an exception handler ๐ŸŽ€
  • --enable-metrics โ€” turns on the metrics subsystem ๐Ÿ“Šโœจ
  • --metric โ€” adds a custom metric ๐Ÿ’œ
  • --metric-threshold โ€” adds a metric threshold/alarm ๐Ÿšจ
  • --metric-alarm โ€” adds a metric threshold/alarm (same thing, different name bestie) ๐Ÿšจ
  • --alarm-metric โ€” yep, adds a metric threshold/alarm again ๐Ÿ’€
  • --metrics-dir โ€” exports metrics as text files into the directory you specify ๐Ÿ“‚
  • --metrics-dir-restore โ€” restores the last value taken from the metrics dir โช
  • --metric-dir โ€” exports metrics as text files to the specified directory (singular twin of the above) ๐Ÿ“
  • --metric-dir-restore โ€” restores the last value taken from the metrics dir ๐Ÿ’ซ
  • --metrics-no-cores โ€” disables generation of cores-related metrics ๐Ÿšซ
  • --udp โ€” runs the udp server on the address you specify ๐Ÿ“ก
  • --stats โ€” enables the stats server on the specified address ๐Ÿ“ˆ
  • --stats-server โ€” enables the stats server on the specified address (same energy, another name) โœจ
  • --stats-http โ€” prefixes the stats server json output with http headers ๐ŸŒ
  • --stats-minified โ€” minifies the statistics json output. small and cute ๐ŸŽ€
  • --stats-min โ€” minifies statistics json output (yeah, the short name) ๐Ÿ’…
  • --stats-push โ€” pushes the stats json to the destination you specify ๐Ÿš€
  • --stats-pusher-default-freq โ€” sets the default frequency of stats pushers โฑ๏ธ
  • --stats-pushers-default-freq โ€” sets the default frequency of stats pushers (plural version, same deal) ๐Ÿ•ฐ๏ธ
  • --stats-no-cores โ€” disables generation of cores-related stats ๐Ÿšซ
  • --stats-no-metrics โ€” does not include metrics in the stats output ๐Ÿ™…
  • --multicast โ€” subscribes to the multicast group you specify ๐Ÿ“ป
  • --multicast-ttl โ€” sets the multicast ttl โณ
  • --multicast-loop โ€” sets the multicast loop, and the default is 1 ๐Ÿ”
  • --master-fifo โ€” enables the master fifo ๐ŸŽ›๏ธ
  • --notify-socket โ€” enables the notification socket ๐Ÿ””
  • --subscription-notify-socket โ€” sets the notification socket used for subscriptions ๐Ÿ“ฌ
  • --legion โ€” you become a member of a legion โš”๏ธ๐Ÿ‘‘
  • --legion-mcast โ€” become a member of a legion (it's a shortcut for multicast) ๐ŸŒˆ
  • --legion-node โ€” adds a node to a legion ๐Ÿงฉ
  • --legion-freq โ€” sets the frequency of legion packets ๐Ÿ“ถ
  • --legion-tolerance โ€” sets the tolerance of the legion subsystem ๐Ÿซถ
  • --legion-death-on-lord-error โ€” if one of the lord hooks fails, the node declares itself a dead node for the amount of seconds you specify ๐Ÿ’€
  • --legion-death-on-lord-error โ€” (yes we said it) declares itself dead for the specified number of seconds when a lord hook fails ๐Ÿ˜ญ
  • --legion-skew-tolerance โ€” sets the clock skew tolerance of the legion subsystem, and the default is 60 seconds โฐ
  • --legion-lord โ€” the action to call on Lord election ๐Ÿ‘‘
  • --legion-unlord โ€” the action to call on Lord dismiss ๐Ÿ‘‹
  • --legion-setup โ€” the action to call on legion setup ๐Ÿ› ๏ธ
  • --legion-death โ€” the action to call on legion death (that's the shutdown of the instance) โšฐ๏ธ
  • --legion-join โ€” the action to call on legion join (the first time quorum is reached) ๐Ÿค
  • --legion-node-joined โ€” the action to call when a new node joins the legion ๐ŸŽ‰
  • --legion-node-left โ€” the action to call when a node leaves the legion ๐Ÿ‘‹
  • --legion-quorum โ€” sets the quorum of a legion ๐Ÿ”ข
  • --legion-scroll โ€” sets the scroll of a legion ๐Ÿ“œ
  • --legion-scroll-max-size โ€” sets the max size of the legion scroll buffer ๐Ÿ“ฆ
  • --legion-scroll-list-max-size โ€” sets the max size of the legion scroll list buffer ๐Ÿ“š
  • --subscriptions-sign-check โ€” sets the digest algorithm and certificate directory for the secured subscription system ๐Ÿ”
  • --subscriptions-sign-check-tolerance โ€” sets the maximum tolerance (in seconds) of clock skew for the secured subscription system โณ
  • --subscriptions-sign-skip-uid โ€” skips the signature check for the specified uid when using unix sockets credentials ๐Ÿ™ˆ
  • --subscriptions-credentials-check โ€” adds a directory to search for subscriptions key credentials ๐Ÿ”‘
  • --subscriptions-use-credentials โ€” enables management of SCM_CREDENTIALS in subscriptions UNIX sockets ๐Ÿงพ
  • --subscription-algo โ€” sets the load balancing algorithm for the subscription system โš–๏ธ
  • --subscription-dotsplit โ€” tries to fallback to the next part (dot based) in the subscription key ๐ŸŽฏ
  • --subscribe-to โ€” subscribes to the subscription server you specify ๐Ÿ“ก
  • --st โ€” subscribe to the specified subscription server (short and sweet) โœจ
  • --subscribe โ€” subscribes to the specified subscription server ๐Ÿซถ
  • --subscribe2 โ€” subscribes to the specified subscription server using advanced keyval syntax. fancy ๐Ÿ’…
  • --subscribe-freq โ€” sends the subscription announce at the interval you specify โฐ
  • --subscription-tolerance โ€” sets tolerance for subscription servers ๐ŸŽš๏ธ
  • --unsubscribe-on-graceful-reload โ€” forces the unsubscribe request even during a graceful reload ๐Ÿšช
  • --start-unsubscribed โ€” configures subscriptions but doesn't send them. useful with master fifo ๐Ÿ˜ด
  • --subscribe-with-modifier1 โ€” forces the specififed (yes, that's spelled that way in the original, bestie) modifier1 when subscribing ๐Ÿ”ง
  • --snmp โ€” enables the embedded snmp server ๐ŸŒณ
  • --snmp-community โ€” sets the snmp community string ๐Ÿ˜๏ธ
  • --ssl-verbose โ€” be verbose about SSL errors. spill the tea โ˜•
  • --ssl-verify-depth โ€” sets the maximum certificate verification depth ๐Ÿ“
  • --sni โ€” adds an SNI-governed SSL context ๐Ÿ”’
  • --sni-dir โ€” checks for cert/key/client_ca files in the directory you specify and creates a sni/ssl context on demand ๐Ÿ—‚๏ธ
  • --sni-dir-ciphers โ€” sets the ssl ciphers for the sni-dir option ๐Ÿ”
  • --ssl-enable3 โ€” enables SSLv3, and it's insecure ๐Ÿ˜ฌ
  • --ssl-enable-sslv3 โ€” enables SSLv3, insecure (same warning bestie) โš ๏ธ
  • --ssl-enable-tlsv1 โ€” enables TLSv1, insecure ๐Ÿšฉ
  • --ssl-option โ€” sets a raw ssl option, and the value is numeric ๐Ÿ”ข
  • --sni-regexp โ€” adds an SNI-governed SSL context, where the key is a regexp ๐Ÿง 
  • --ssl-tmp-dir โ€” stores ssl-related temp files in the directory you specify ๐Ÿ—ƒ๏ธ
  • --check-interval โ€” sets the interval (in seconds) of master checks โฑ๏ธ
  • --forkbomb-delay โ€” when a forkbomb is detected, it sleeps for the number of seconds you specify ๐Ÿ˜ด
  • --binary-path โ€” forces the binary path ๐Ÿ“
  • --privileged-binary-patch โ€” patches the uwsgi binary with a new command (this happens before privileges drop) ๐Ÿฉน
  • --unprivileged-binary-patch โ€” patches the uwsgi binary with a new command (this happens after privileges drop) ๐Ÿฉน
  • --privileged-binary-patch-arg โ€” patches the uwsgi binary with a new command and arguments (before privileges drop) ๐Ÿงฐ
  • --unprivileged-binary-patch-arg โ€” patches the uwsgi binary with a new command and arguments (after privileges drop) ๐Ÿงฐ
  • --async โ€” enables async mode with the number of cores you specify โšก
  • --max-fd โ€” sets the maximum number of file descriptors. requires root privileges, bestie ๐Ÿ‘‘
  • --logto โ€” sets the logfile/udp address ๐Ÿ“
  • --logto2 โ€” logs to the specified file or udp address after privileges drop ๐Ÿ“ค
  • --log-format โ€” sets the advanced format for request logging ๐Ÿ–‹๏ธ
  • --logformat โ€” sets advanced format for request logging (same thing, no space) โœ๏ธ
  • --logformat-strftime โ€” applies strftime to logformat output ๐Ÿ—“๏ธ
  • --log-format-strftime โ€” applies strftime to logformat output (the hyphenated twin) ๐Ÿ“†
  • --logfile-chown โ€” chowns logfiles ๐Ÿ‘ค
  • --logfile-chmod โ€” chmods logfiles ๐Ÿ”ง
  • --log-syslog โ€” logs to syslog ๐Ÿ“ป
  • --log-socket โ€” sends logs to the socket you specify ๐Ÿ•ณ๏ธ
  • --req-logger โ€” sets/appends a request logger ๐Ÿงพ
  • --logger-req โ€” sets/appends a request logger (same deal, flipped name) ๐Ÿ“„
  • --logger โ€” sets/appends a logger ๐Ÿ“š
  • --logger-list โ€” lists enabled loggers ๐Ÿ“‹
  • --loggers-list โ€” lists enabled loggers (plural version) ๐Ÿ—’๏ธ
  • --threaded-logger โ€” offloads log writing to a thread ๐Ÿงต
  • --log-encoder โ€” adds an item in the log encoder chain โ›“๏ธ
  • --log-req-encoder โ€” adds an item in the log req encoder chain ๐Ÿ”—
  • --log-drain โ€” drains (aka does not show) log lines matching the regexp you specify ๐Ÿšซ
  • --log-filter โ€” shows only log lines matching the regexp you specify ๐Ÿ”
  • --log-route โ€” logs to the named logger you specify if the regexp applied on the logline matches ๐Ÿ›ฃ๏ธ
  • --log-req-route โ€” logs requests to the named logger you specify if the regexp applied on the logline matches ๐Ÿ›ค๏ธ
  • --use-abort โ€” calls abort() on segfault/fpe. could be useful for generating a core dump ๐Ÿ’ฅ
  • --alarm โ€” creates a new alarm. syntax: <alarm> <plugin:args> ๐Ÿšจ
  • --alarm-cheap โ€” okay so instead of making a dedicated thread for every curl-based alarm, it uses the main alarm thread. Thread budget stays cute. ๐Ÿ’…
  • --alarm-freq โ€” tune the anti-loop alarm system, default is 3 seconds. So if your alarms are doing too much, this is the vibe check interval. โฐ
  • --alarm-fd โ€” raises the alarm you pick when an fd is read for read. By default it reads 1 byte, but set it to 8 for eventfd. Bestie, numbers matter. ๐Ÿ”ข
  • --alarm-segfault โ€” raises the alarm you specify when the segmentation fault handler runs. Ouchie but alerted. ๐Ÿ’€
  • --segfault-alarm โ€” same as above: raises your chosen alarm when the segfault handler is executed. Twin energy. ๐Ÿซถ
  • --alarm-backlog โ€” raises the specified alarm when the socket backlog queue is full. Sheโ€™s packed, bestie. ๐Ÿ˜ญ
  • --backlog-alarm โ€” also raises your specified alarm when the socket backlog queue is full. Same thing, different name. ๐Ÿ”
  • --lq-alarm โ€” raises the specified alarm when the socket backlog queue is full. The LQ said โ€œwe full.โ€ ๐Ÿ’…
  • --alarm-lq โ€” yep, raises the specified alarm when the socket backlog queue is full. Alias behavior, same facts. โœจ
  • --alarm-listen-queue โ€” raises the specified alarm when the socket backlog queue is full. Listen queue said no vacancy. ๐Ÿšซ
  • --listen-queue-alarm โ€” raises the specified alarm when the socket backlog queue is full. Same alarm vibe. ๐ŸŽ€
  • --log-alarm โ€” raise the specified alarm when a log line matches the specified regexp. Syntax is <alarm>[,alarm...] <regexp>. So you can ping multiple alarms, comma-separated. ๐Ÿ”ฅ
  • --alarm-log โ€” raise the specified alarm when a log line matches the specified regexp. Syntax: <alarm>[,alarm...] <regexp>. Itโ€™s the alias twin, still exact. ๐ŸŒธ
  • --not-log-alarm โ€” skip the specified alarm when a log line matches the specified regexp. Syntax: <alarm>[,alarm...] <regexp>. So itโ€™s the opposite: no alarm for this match. ๐Ÿ™ˆ
  • --not-alarm-log โ€” skip the specified alarm when a log line matches the specified regexp. Syntax: <alarm>[,alarm...] <regexp>. Same skip, alias name. ๐Ÿ’œ
  • --alarm-list โ€” list enabled alarms. Show me the roster, bestie. ๐Ÿ“‹
  • --alarms-list โ€” list enabled alarms. Plural alias, same list. ๐Ÿ‘‘
  • --alarm-msg-size โ€” set the max size of an alarm message, default 8192. Keep it under the limit or itโ€™s giving truncation. โœ‚๏ธ
  • --log-master โ€” delegate logging to the master process. Let the master handle the gossip. ๐Ÿ‘‘
  • --log-master-bufsize โ€” set the buffer size for the master logger. Bigger log messages will be truncated, so donโ€™t write a novel. ๐Ÿ“š
  • --log-master-stream โ€” create the master logpipe as SOCK_STREAM. Stream mode, slay. ๐ŸŒŠ
  • --log-master-req-stream โ€” create the master requests logpipe as SOCK_STREAM. Requests logs get stream energy too. ๐Ÿ’ง
  • --log-reopen โ€” reopen log after reload. Fresh log, same me. ๐Ÿ”„
  • --log-truncate โ€” truncate log on startup. Clean slate, periodt. ๐Ÿงผ
  • --log-maxsize โ€” set maximum logfile size. When it hits the cap, rotation time. ๐Ÿ“
  • --log-backupname โ€” set logfile name after rotation. So the old log gets a new name. ๐Ÿ’พ
  • --logdate โ€” prefix logs with date or a strftime string. Time stamps but make it custom. ๐Ÿ—“๏ธ
  • --log-date โ€” prefix logs with date or a strftime string. Alias, same timestamp energy. ๐Ÿ•ฐ๏ธ
  • --log-prefix โ€” prefix logs with a string. Put your fave little phrase in front. ๐Ÿ’ฌ
  • --log-zero โ€” log responses without body. Empty body? Still logged. ๐Ÿซฅ
  • --log-slow โ€” log requests slower than the specified number of milliseconds. Slow queens get noticed. ๐Ÿข
  • --log-4xx โ€” log requests with a 4xx response. Client errors, we see you. ๐Ÿ‘€
  • --log-5xx โ€” log requests with a 5xx response. Server errors, we see you too. ๐Ÿšจ
  • --log-big โ€” log requests bigger than the specified size. Big request energy. ๐Ÿ˜
  • --log-sendfile โ€” log sendfile requests. Sendfile moment, logged. ๐Ÿ“ค
  • --log-ioerror โ€” log requests with io errors. I/O said oops. ๐Ÿ’”
  • --log-micros โ€” report response time in microseconds instead of milliseconds. Tiny numbers, precise. ๐Ÿ”ฌ
  • --log-x-forwarded-for โ€” use the ip from X-Forwarded-For header instead of REMOTE_ADDR. Real IP detective work. ๐Ÿ•ต๏ธ
  • --master-as-root โ€” leave master process running as root. Master stays root, no drop. ๐Ÿ‘‘
  • --drop-after-init โ€” run privileges drop after plugin initialization, superseded by drop-after-apps. So itโ€™s older behavior, and drop-after-apps wins. ๐Ÿ‘ต
  • --drop-after-apps โ€” run privileges drop after apps loading, superseded by master-as-root. Older-ish; master-as-root takes over. ๐Ÿ“ฆ
  • --force-cwd โ€” force the initial working directory to the specified value. No wandering, bestie. ๐Ÿ“Œ
  • --binsh โ€” override /bin/sh (used by exec hooks, it always fallback to /bin/sh). So you can point it elsewhere, but it always falls back to /bin/sh. ๐Ÿš
  • --chdir โ€” chdir to specified directory before apps loading. Move first, load later. ๐Ÿ“
  • --chdir2 โ€” chdir to specified directory after apps loading. Load first, move later. ๐Ÿ“‚
  • --lazy โ€” set lazy mode (load apps in workers instead of master). Workers do the app loading. ๐Ÿฆฅ
  • --lazy-apps โ€” load apps in each worker instead of the master. Every worker gets its own app load, no copy-paste from master. ๐Ÿง‘โ€๐Ÿณ
  • --cheap โ€” set cheap mode (spawn workers only after the first request). No request? No workers. Budget queen. ๐Ÿ’ธ
  • --cheaper โ€” set cheaper mode (adaptive process spawning). Workers scale with the vibe. ๐Ÿ“ˆ
  • --cheaper-initial โ€” set the initial number of processes to spawn in cheaper mode. Starting lineup, bestie. ๐Ÿ
  • --cheaper-algo โ€” choose to algorithm used for adaptive process spawning. Pick your scaling algorithm. ๐Ÿง 
  • --cheaper-step โ€” number of additional processes to spawn at each overload. Overloaded? Spawn this many more. โž•
  • --cheaper-overload โ€” increase workers after specified overload. Threshold said โ€œnow we grow.โ€ ๐ŸŒฑ
  • --cheaper-algo-list โ€” list enabled cheapers algorithms. Show me the algo menu. ๐Ÿ“œ
  • --cheaper-algos-list โ€” list enabled cheapers algorithms. Plural alias, same menu. ๐Ÿ—‚๏ธ
  • --cheaper-list โ€” list enabled cheapers algorithms. Yep, also lists them. ๐Ÿงพ
  • --cheaper-rss-limit-soft โ€” donโ€™t spawn new workers if total resident memory usage of all workers is higher than this limit. Soft boundary, donโ€™t cross. ๐Ÿงท
  • --cheaper-rss-limit-hard โ€” if total workers resident memory usage is higher try to stop workers. Hard boundary, workers get stopped. ๐Ÿ›‘
  • --idle โ€” set idle mode (put uWSGI in cheap mode after inactivity). Chill out, go cheap after nothing happens. ๐Ÿ˜ด
  • --die-on-idle โ€” shutdown uWSGI when idle. Idle? Bye. ๐Ÿ’€
  • --mount โ€” load application under mountpoint. App goes under the mountpoint. โ›ฐ๏ธ
  • --worker-mount โ€” load application under mountpoint in the specified worker or after workers spawn. Worker-specific or post-spawn mount. ๐Ÿ‘ท
  • --threads โ€” run each worker in prethreaded mode with the specified number of threads. Threads go brrr. ๐Ÿงต
  • --thread-stacksize โ€” set threads stacksize. Stack size, set it. ๐Ÿ“š
  • --threads-stacksize โ€” set threads stacksize. Alias, same stack. ๐Ÿ“š
  • --thread-stack-size โ€” set threads stacksize. Another alias, same stack size. ๐Ÿ“š
  • --threads-stack-size โ€” set threads stacksize. Fourth alias, still stack size. ๐Ÿ“š
  • --vhost โ€” enable virtualhosting mode (based on SERVER_NAME variable). Vhost based on SERVER_NAME. ๐Ÿ 
  • --vhost-host โ€” enable virtualhosting mode (based on HTTP_HOST variable). Vhost based on HTTP_HOST. ๐Ÿก
  • --route โ€” add a route. Just add a route, bestie. ๐Ÿ›ฃ๏ธ
  • --route-host โ€” add a route based on Host header. Route match on Host. ๐Ÿท๏ธ
  • --route-uri โ€” add a route based on REQUEST_URI. Route match on REQUEST_URI. ๐Ÿ”—
  • --route-qs โ€” add a route based on QUERY_STRING. Route match on QUERY_STRING. โ“
  • --route-remote-addr โ€” add a route based on REMOTE_ADDR. Route match on REMOTE_ADDR. ๐Ÿ“
  • --route-user-agent โ€” add a route based on HTTP_USER_AGENT. Route match on HTTP_USER_AGENT. ๐Ÿ•ต๏ธ
  • --route-remote-user โ€” add a route based on REMOTE_USER. Route match on REMOTE_USER. ๐Ÿ™‹
  • --route-referer โ€” add a route based on HTTP_REFERER. Route match on HTTP_REFERER. ๐Ÿ”™
  • --route-label โ€” add a routing label (for use with goto). Labels for routes, goto vibes. ๐Ÿท๏ธ
  • --route-if โ€” add a route based on condition. Conditional route, if-coded. ๐Ÿค”
  • --route-if-not โ€” add a route based on condition (negate version). Same but negated. ๐Ÿ™ƒ
  • --route-run โ€” always run the specified route action. No condition, just run it. ๐Ÿƒ
  • --final-route โ€” add a final route. Final route, endgame. ๐Ÿ
  • --final-route-status โ€” add a final route for the specified status. Final route matching status. ๐Ÿ”ข
  • --final-route-host โ€” add a final route based on Host header. Final route on Host. ๐Ÿท๏ธ
  • --final-route-uri โ€” add a final route based on REQUEST_URI. Final route on REQUEST_URI. ๐Ÿ”—
  • --final-route-qs โ€” add a final route based on QUERY_STRING. Final route on QUERY_STRING. โ“
  • --final-route-remote-addr โ€” add a final route based on REMOTE_ADDR. Final route on REMOTE_ADDR. ๐Ÿ“
  • --final-route-user-agent โ€” add a final route based on HTTP_USER_AGENT. Final route on HTTP_USER_AGENT. ๐Ÿ•ต๏ธ
  • --final-route-remote-user โ€” add a final route based on REMOTE_USER. Final route on REMOTE_USER. ๐Ÿ™‹
  • --final-route-referer โ€” add a final route based on HTTP_REFERER. Final route on HTTP_REFERER. ๐Ÿ”™
  • --final-route-label โ€” add a final routing label (for use with goto). Final label, goto-ready. ๐Ÿท๏ธ
  • --final-route-if โ€” add a final route based on condition. Final conditional route. ๐Ÿค”
  • --final-route-if-not โ€” add a final route based on condition (negate version). Final conditional route, negated. ๐Ÿ™ƒ
  • --final-route-run โ€” always run the specified final route action. Final route action, always. ๐Ÿƒ
  • --error-route โ€” add an error route. Error route, oopsie path. ๐Ÿšจ
  • --error-route-status โ€” add an error route for the specified status. Error route matching status. ๐Ÿ”ข
  • --error-route-host โ€” add an error route based on Host header. Error route on Host. ๐Ÿท๏ธ
  • --error-route-uri โ€” add an error route based on REQUEST_URI. Error route on REQUEST_URI. ๐Ÿ”—
  • --error-route-qs โ€” add an error route based on QUERY_STRING. Error route on QUERY_STRING. โ“
  • --error-route-remote-addr โ€” add an error route based on REMOTE_ADDR. Error route on REMOTE_ADDR. ๐Ÿ“
  • --error-route-user-agent โ€” add an error route based on HTTP_USER_AGENT. Error route on HTTP_USER_AGENT. ๐Ÿ•ต๏ธ
  • --error-route-remote-user โ€” add an error route based on REMOTE_USER. Error route on REMOTE_USER. ๐Ÿ™‹
  • --error-route-referer โ€” add an error route based on HTTP_REFERER. Error route on HTTP_REFERER. ๐Ÿ”™
  • --error-route-label โ€” add an error routing label (for use with goto). Error label, goto-ready. ๐Ÿท๏ธ
  • --error-route-if โ€” add an error route based on condition. Error route, conditional. ๐Ÿค”
  • --error-route-if-not โ€” add an error route based on condition (negate version). Error route, negated conditional. ๐Ÿ™ƒ
  • --error-route-run โ€” always run the specified error route action. Error route action, always. ๐Ÿƒ
  • --response-route โ€” add a response route. Response route, route the reply. ๐Ÿ“ฌ
  • --response-route-status โ€” add a response route for the specified status. Response route matching status. ๐Ÿ”ข
  • --response-route-host โ€” add a response route based on Host header. Response route on Host. ๐Ÿท๏ธ
  • --response-route-uri โ€” add a response route based on REQUEST_URI. Response route on REQUEST_URI. ๐Ÿ”—
  • --response-route-qs โ€” add a response route based on QUERY_STRING. Response route on QUERY_STRING. โ“
  • --response-route-remote-addr โ€” add a response route based on REMOTE_ADDR. Response route on REMOTE_ADDR. ๐Ÿ“
  • --response-route-user-agent โ€” add a response route based on HTTP_USER_AGENT. Response route on HTTP_USER_AGENT. ๐Ÿ•ต๏ธ
  • --response-route-remote-user โ€” add a response route based on REMOTE_USER. Response route on REMOTE_USER. ๐Ÿ™‹
  • --response-route-referer โ€” add a response route based on HTTP_REFERER. Response route on HTTP_REFERER. ๐Ÿ”™
  • --response-route-label โ€” add a response routing label (for use with goto). Response label, goto-ready. ๐Ÿท๏ธ
  • --response-route-if โ€” add a response route based on condition. Response route, conditional. ๐Ÿค”
  • --response-route-if-not โ€” add a response route based on condition (negate version). Response route, negated. ๐Ÿ™ƒ
  • --response-route-run โ€” always run the specified response route action. Response route action, always. ๐Ÿƒ
  • --router-list โ€” list enabled routers. Router roster, please. ๐Ÿ“‹
  • --routers-list โ€” list enabled routers. Plural alias, same roster. ๐Ÿ‘‘
  • --error-page-403 โ€” add an error page (html) for managed 403 response. Custom 403 HTML, slay. ๐Ÿšซ
  • --error-page-404 โ€” add an error page (html) for managed 404 response. Custom 404 HTML, iconic. ๐Ÿ”
  • --error-page-500 โ€” add an error page (html) for managed 500 response. Custom 500 HTML, dramatic. ๐Ÿ’ฅ
  • --websockets-ping-freq โ€” set the frequency (in seconds) of websockets automatic ping packets. Ping timer in seconds. ๐Ÿ“
  • --websocket-ping-freq โ€” set the frequency (in seconds) of websockets automatic ping packets. Alias, same ping timer. ๐Ÿ“
  • --websockets-pong-tolerance โ€” set the tolerance (in seconds) of websockets ping/pong subsystem. Pong patience in seconds. โณ
  • --websocket-pong-tolerance โ€” set the tolerance (in seconds) of websockets ping/pong subsystem. Alias, same tolerance. โณ
  • --websockets-max-size โ€” set the max allowed size of websocket messages (in Kbytes, default 1024). Message cap in Kbytes. ๐Ÿ“ฆ
  • --websocket-max-size โ€” set the max allowed size of websocket messages (in Kbytes, default 1024). Alias, same max size. ๐Ÿ“ฆ
  • --chunked-input-limit โ€” set the max size of a chunked input part (default 1MB, in bytes). Chunked input cap, default 1MB. ๐Ÿงฑ
  • --chunked-input-timeout โ€” set default timeout for chunked input. Chunked input timeout. โฐ
  • --clock โ€” set a clock source. Clock source, pick one. ๐Ÿ•ฐ๏ธ
  • --clock-list โ€” list enabled clocks. Show me the clocks. โฑ๏ธ
  • --clocks-list โ€” bestie, it literally just lists the enabled clocks โœจ
  • --add-header โ€” automatically sprinkles HTTP headers onto the response, no cap ๐Ÿ’…
  • --rem-header โ€” automatically yeets the specified HTTP header out of the response
  • --del-header โ€” same energy, also automatically removes the specified HTTP header from the response
  • --collect-header โ€” stores the specified response header into a request var, syntax is header var ๐ŸŽ€
  • --response-header-collect โ€” stores the specified response header into a request var, syntax header var
  • --pull-header โ€” stores the specified response header into a request var and removes it from the response, syntax header var

๐ŸŒธ static file era ๐ŸŒธ

  • --check-static โ€” check for static files in the specified directory
  • --check-static-docroot โ€” check for static files in the requested DOCUMENT_ROOT
  • --static-check โ€” check for static files in the specified directory
  • --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 โ€” if a directory is requested, it searches for the specified file ๐Ÿ‘‘
  • --static-safe โ€” skips security checks if the file lives under the specified path
  • --static-cache-paths โ€” puts resolved paths in the uWSGI cache for the specified amount of seconds
  • --static-cache-paths-name โ€” use 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 filename regexp
  • --static-expires-mtime โ€” sets the Expires header based on filename regexp and file mtime
  • --static-expires-uri โ€” sets the Expires header based on REQUEST_URI regexp
  • --static-expires-uri-mtime โ€” sets the Expires header based on REQUEST_URI regexp and file mtime
  • --static-expires-path-info โ€” sets the Expires header based on PATH_INFO regexp
  • --static-expires-path-info-mtime โ€” sets the Expires header based on PATH_INFO regexp and file mtime
  • --static-gzip โ€” if the supplied regexp matches the static file translation, it goes looking 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 (leave it 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)

๐ŸŒˆ env, cgroups & namespaces ๐ŸŒˆ

  • --mode โ€” set uWSGI custom mode
  • --env โ€” set 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 the 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 โ€” run in a new namespace under the specified rootfs
  • --namespace-keep-mount โ€” keeps the specified mountpoint in your namespace
  • --ns โ€” run in a new namespace under the specified rootfs
  • --namespace-net โ€” adds a network namespace
  • --ns-net โ€” adds a network namespace

๐Ÿ’œ sockets & networking ๐Ÿ’œ

  • --enable-proxy-protocol โ€” enables PROXY1 protocol support (only for http parsers)
  • --reuse-port โ€” enables the REUSE_PORT flag on the 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 โ€” attach to a zerg server ๐Ÿ‘พ
  • --zerg-fallback โ€” falls back to normal sockets if the zerg server isn't available
  • --zerg-server โ€” enables the zerg server on the specified UNIX socket

๐ŸŽ€ cron corner ๐ŸŽ€

  • --cron โ€” add a cron task
  • --cron2 โ€” add a cron task (key=val syntax)
  • --unique-cron โ€” add a unique cron task
  • --cron-harakiri โ€” sets the maximum time (in seconds) we wait for a cron command to complete โณ
  • --legion-cron โ€” add a cron task runnable only when the instance is a lord of the specified legion
  • --cron-legion โ€” add a cron task runnable only when the instance is a lord of the specified legion
  • --unique-legion-cron โ€” add a unique cron task runnable only when the instance is a lord of the specified legion
  • --unique-cron-legion โ€” add a unique cron task runnable only when the instance is a lord of the specified legion

๐Ÿฆ‹ loops & workers ๐Ÿฆ‹

  • --loop โ€” select the uWSGI loop engine
  • --loop-list โ€” list enabled loop engines
  • --loops-list โ€” list enabled loop engines
  • --worker-exec โ€” run the specified command as worker
  • --worker-exec2 โ€” run the specified command as worker (after the post_fork hook)

๐Ÿ’… daemon attachment ๐Ÿ’…

  • --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 โ€” attach-daemon keyval variant (supports smart modes too)

โœจ plugins, no notes โœจ

  • --plugins โ€” load uWSGI plugins
  • --plugin โ€” load uWSGI plugins
  • --need-plugins โ€” load uWSGI plugins (and exit on error) ๐Ÿ˜ญ
  • --need-plugin โ€” load uWSGI plugins (and 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 โ€” list enabled plugins
  • --plugin-list โ€” list enabled plugins
  • --autoload โ€” tries to automatically load plugins when unknown options are found ๐Ÿ”ฎ
  • --dlopen โ€” blindly load a shared library (yes, blindly, she said what she said)
  • --allowed-modifiers โ€” comma separated list of allowed modifiers
  • --remap-modifier โ€” remaps a request modifier from one id to another

๐Ÿงš debugging & building ๐Ÿงš

  • --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 โ€” force 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 โ€” print uWSGI version
  • --response-headers-limit โ€” sets the response header maximum size (default: 64k)

ok that's the whole options buffet, bestie โ€” every flag, every default, every "syntax: header var", all of it, untouched ๐Ÿซถ

and that's the page!! ๐Ÿ’– this whole thing came from uwsgi_ldap version 2.0.31-debian, dated July 2026, and it's filed under UWSGI_LDAP(1) โ€” literally the manual page, periodt. go configure something iconic ๐ŸŒŸ

๐Ÿ“ฆ where this page comes from