Scroll to navigation

UWSGI_V8(1) User Commands UWSGI_V8(1)

NAME

uwsgi_v8 - fast (pure C), self-healing, developer-friendly WSGI server

SYNOPSIS

uwsgi-core [options...]

DESCRIPTION

bind to the specified UNIX/TCP socket using default protocol
bind to the specified UNIX/TCP socket using uwsgi protocol
bind to the specified UNIX/TCP socket using uwsgi protocol over SSL
bind to the specified UNIX/TCP socket using uwsgi protocol over SSL
bind to the specified UNIX/TCP socket using HTTP protocol
force the specified modifier1 when using HTTP protocol
force the specified modifier2 when using HTTP protocol
bind to the specified UNIX/TCP socket using HTTP 1.1 (Keep-Alive) protocol
bind to the specified UNIX/TCP socket using HTTPS protocol
force the specified modifier1 when using HTTPS protocol
force the specified modifier2 when using HTTPS protocol
bind to the specified UNIX/TCP socket using FastCGI protocol
bind to the specified UNIX/TCP socket using FastCGI protocol (nph mode)
force the specified modifier1 when using FastCGI protocol
force the specified modifier2 when using FastCGI protocol
bind to the specified UNIX/TCP socket using SCGI protocol
bind to the specified UNIX/TCP socket using SCGI protocol (nph mode)
force the specified modifier1 when using SCGI protocol
force the specified modifier2 when using SCGI protocol
bind to the specified UNIX/TCP socket using RAW protocol
force the specified modifier1 when using RAW protocol
force the specified modifier2 when using RAW protocol
bind to the specified UNIX/TCP socket using persistent uwsgi protocol (puwsgi)
force the specified protocol for default sockets
force the specified protocol for default sockets
create a shared socket for advanced jailing or ipc
create a shared socket for advanced jailing or ipc (undeferred mode)
spawn the specified number of workers/processes
spawn the specified number of workers/processes
serialize accept() usage (if possible)
set harakiri timeout
enable verbose mode for harakiri
do not enable harakiri during after-request-hook
do not enable harakiri during after-request-hook
do not enable harakiri during after-request-hook
set backtrace depth
set harakiri timeout for mule tasks
load config from xml file
load config from xml file
load configuration using the pluggable system
re-exec uwsgi with the specified config when exit code is 1
enable strict mode (placeholder cannot be used)
skip check of file descriptor 0
skip atexit hooks (ignored by the master)
skip atexit teardown (ignored by the master)
set a placeholder or an option
set a placeholder
set a placeholder
print the specified option value and exit
declare a new uWSGI custom option
declare a new uWSGI custom option (non-immediate)
place the result of a dns query in the specified placeholder, sytax: placeholder=name (immediate option)
(opt logic) for cycle
(opt logic) for cycle (expand glob)
(opt logic) for cycle (expand the specified num to a list starting from 1)
(opt logic) for cycle (expand the specified file to a list of lines)
(opt logic) end for cycle
(opt logic) end for cycle
(opt logic) check for option
(opt logic) check for option
(opt logic) check for environment variable
(opt logic) check for environment variable
(opt logic) check for environment variable
(opt logic) check for reload
(opt logic) check for reload
(opt logic) check for hostname
(opt logic) check for hostname
(opt logic) try to match hostname against a regular expression
(opt logic) try to match hostname against a regular expression
(opt logic) check for file/directory existence
(opt logic) check for file/directory existence
(opt logic) check for file/directory existence
(opt logic) check for plugin
(opt logic) check for plugin
(opt logic) check for plugin
(opt logic) check for file existance
(opt logic) check for file existance
(opt logic) check for directory existance
(opt logic) check for directory existance
(opt logic) check for directory existance
(opt logic) check for directory existance
(opt logic) end if
(opt logic) end if
set options blacklist context
clear options blacklist context
set options whitelist context
clear options whitelist context
do not report (annoying) SIGPIPE
do not report (annoying) write()/writev() errors
set the maximum number of allowed write errors (default: no tolerance)
only raise an exception on write errors giving control to the app itself
disable exception generation on write()/writev()
use the specified file as config template
include the specified file as immediate configuration
inject a text file before the config file (advanced templating)
inject a text file after the config file (advanced templating)
daemonize uWSGI
daemonize uWSGI after app loading
stop an instance
reload an instance
pause an instance
suspend an instance
resume an instance
connect to a socket and wait for data from it
fetch/dump any supported address to stdout
set the socket listen queue size
set the amount of internal iovec/vars structures
set the maximum number of per-worker applications
set internal buffer size
enable memory report
enable the specified profiler
force CGI-mode for plugins supporting it
force UNIX socket in abstract mode (Linux only)
chmod-socket
chmod-socket
chown unix sockets
set umask
put socket in freebind mode
map sockets to specific workers
enable threads
do not wait for threads cancellation on quit/reload
automatically set processes name to something meaningful
add a prefix to the process names
add a spaced prefix to the process names
append a string to process names
set process names
set master process name
do not use multiple interpreters (where available)
exit if no app can be loaded
enable master process
do not remap stdin to /dev/null
run the Emperor
force the vassal to became an Emperor proxy
set a binary wrapper for vassals
set a binary wrapper for vassals to try before the default one
set a binary wrapper for vassals to try as a last resort
do not follow symlinks when checking for mtime
set the Emperor process name
set the Emperor scan frequency (default 3 seconds)
set the Emperor tolerance about heartbeats
set the Emperor tolerance about cursed vassals
write the Emperor pid in the specified file
put the Emperor in Tyrant mode
do not follow symlinks when checking for uid/gid in Tyrant mode
run the Emperor stats server
run the Emperor stats server
spawn the emperor as soon as possibile
run the emperor in BroodLord mode
set throttling level (in milliseconds) for bad behaving vassals (default 1000)
set max throttling level (in milliseconds) for bad behaving vassals (default 3 minutes)
prefix vassals config files with exec:// if they have the executable bit
search for text file (vassal name + extension) containing the on demand socket name
search for text file (vassal name + extension) containing the on demand socket name
enable on demand mode binding to the unix socket in the specified directory named like the vassal + .socket
enable on demand mode binding to the unix socket in the specified directory named like the vassal + .socket
use the output of the specified command as on demand socket name (the vassal name is passed as the only argument)
allows the specified extension in the Emperor (vassal will be called with --config)
allows the specified extension in the Emperor (vassal will be called with --config)
disable Emperor blacklisting subsystem
use clone() instead of fork() passing the specified unshare() flags
set vassals capability
set vassals capability
set vassals capability
list enabled imperial monitors
list enabled imperial monitors
add config templates to vassals config (uses --inherit)
include config templates to vassals config (uses --include instead of --inherit)
add config templates to vassals config (uses --inherit, parses before the vassal file)
include config templates to vassals config (uses --include instead of --inherit, parses before the vassal file)
run the specified command before each vassal starts
run the specified command after vassal's death
ask emperor for reinforcement when overloaded
ask emperor for sos if backlog queue has more items than the value specified
automatically set the specified option (via --set) for every vassal
automatically set the specified option (via --set) for every vassal
announce healthiness to the emperor
set the maximum time (in seconds) we wait for workers and other processes to die during reload/shutdown
set the maximum time (in seconds) a worker can take to reload/shutdown (default is 60)
set the maximum time (in seconds) a mule can take to reload/shutdown (default is 60)
force exit even if a reload is requested
exit instead of brutal reload on SIGTERM
force the spawn of the first registered gateway without a master
show this help
show this help
print content of the specified binary symbol
print content of the specified binary symbol
call waitpid(-1,...) after each request to get rid of zombies
reload workers after the specified amount of managed requests
number of seconds worker must run before being reloaded (default is 60)
reload workers after the specified amount of seconds (default is disabled)
set internal sockets timeout
disable file descriptor passing
create the specified number of shared locks
set the lock engine
set the ipcsem key via ftok() for avoiding duplicates
do not remove ipcsem's on shutdown
create a raw shared memory area of specified pages (note: it supports keyval too)
do not close the specified file descriptor
do not close the specified file descriptor
create a shared cache containing given elements
set cache blocksize
enable persistent cache to disk
set frequency of sync for persistent cache
disable auto sweep of expired items
set the frequency of cache sweeper scans (default 3 seconds)
constantly report the cache item freed by the sweeper (use only for debug)
bind the cache udp server (used only for set/update/delete) to the specified socket
send cache update/deletion to the specified cache udp server
copy the whole content of another uWSGI cache server on server startup
update last_modified_at timestamp on every cache item modification (default is disabled)
add an item in the cache
load a static file in the cache
load a static file in the cache with gzip compression
create a new generation shared cache (keyval syntax)
enable shared queue
set queue blocksize
enable persistent queue to disk
set frequency of sync for persistent queue
run a spooler on the specified directory
map spoolers requests to a spooler directory managed by an external instance
try to order the execution of spooler tasks
chdir() to specified directory before each spooler task
set the number of processes for spoolers
do not be verbose with spooler tasks
set the maximum number of tasks to run before recycling a spooler
set harakiri timeout for spooler tasks
set spooler frequency
set spooler frequency
add a mule
add the specified number of mules
add a mule farm
set mule message buffer size
send a uwsgi signal to a server
set buffer size for signal queue
set buffer size for signal queue
add a timer (syntax: <signal> <seconds>)
add a timer (syntax: <signal> <seconds>)
add a redblack timer (syntax: <signal> <seconds>)
add a redblack timer (syntax: <signal> <seconds>)
maximum number of rpc slots (default: 64)
disable request logging
lock the specified file before starting, exit if locked
lock the specified file before starting, wait if locked
lock the specified file after logging/daemon setup, exit if locked
lock the specified file after logging/daemon setup, wait if locked
create pidfile (before privileges drop)
create pidfile (after privileges drop)
create safe pidfile (before privileges drop)
create safe pidfile (after privileges drop)
chroot() to the specified directory
pivot_root() to the specified directories (new_root and put_old must be separated with a space)
pivot_root() to the specified directories (new_root and put_old must be separated with a space)
setuid to the specified user/uid
setgid to the specified group/gid
add the specified group id to the process credentials
setuid to the specified user/uid IMMEDIATELY
setgid to the specified group/gid IMMEDIATELY
disable additional groups set via initgroups()
set process capability
unshare() part of the processes and put it in a new namespace
unshare() part of the processes and put it in a new namespace after rootfs change
expose a unix socket returning namespace fds from /proc/self/ns
skip the specified entry when sending setns file descriptors
skip the specified entry when sending setns file descriptors
join a namespace created by an external uWSGI instance
open /proc/self/ns as soon as possible and cache fds
mark the instance as jailed (force the execution of post_jail hooks)
fork() again after privileges drop. Useful for jailing systems
fork() again after privileges drop. Useful for jailing systems
fork() again before privileges drop. Useful for jailing systems
fork() again before privileges drop. Useful for jailing systems
fork() again after jailing. Useful for jailing systems
fork() again after jailing. Useful for jailing systems
run the specified hook as soon as possible
run the specified hook before jailing
run the specified hook after jailing
run the specified hook in jail after initialization
run the specified hook before privileges drop
run the specified hook after privileges drop
run the specified hook before app exit and reload
run the specified hook before app loading
run the specified hook after app loading
run the specified hook after each fork
run the specified hook after each worker enter the accepting phase
run the specified hook after the first worker enters the accepting phase
run the specified hook after each worker enter the accepting phase (once per-instance)
run the specified hook after the first worker enters the accepting phase (once per instance)
run the specified hook when the Master starts
run the specified hook when the specified file is touched (syntax: <file> <action>)
run the specified hook when the Emperor starts
run the specified hook when the Emperor send a stop message
run the specified hook when the Emperor send a reload message
run the specified hook when the Emperor connection is lost
run the specified hook before exec()ing the vassal
run the specified hook in the emperor after the vassal has been started
run the specified hook in each mule
run the specified hook in each gateway
run the specified function/symbol after each request
run the specified function/symbol after each request
run the specified command as soon as possible
run the specified command before jailing
run the specified command after jailing
run the specified command in jail after initialization
run the specified command before privileges drop
run the specified command after privileges drop
run the specified command before app exit and reload
run the specified command before app loading
run the specified command after app loading
run the specified command before exec()ing the vassal
run the specified command in the emperor after the vassal has been started
mount filesystem as soon as possible
mount filesystem before jailing
mount filesystem after jailing
mount filesystem in jail after initialization
mount filesystem before privileges drop
mount filesystem before exec()ing the vassal
mount filesystem in the emperor after the vassal has been started
unmount filesystem as soon as possible
unmount filesystem before jailing
unmount filesystem after jailing
unmount filesystem in jail after initialization
unmount filesystem before privileges drop
unmount filesystem before exec()ing the vassal
unmount filesystem in the emperor after the vassal has been started
wait for the specified network interface to come up before running root hooks
set the timeout for wait-for-interface
wait for the specified network interface to come up before running root hooks
set the timeout for wait-for-interface
wait for the specified network interface to come up before running root hooks
set the timeout for wait-for-interface
wait for the specified network interface to come up before running root hooks
set the timeout for wait-for-interface
wait for the specified filesystem item to appear before running root hooks
wait for the specified file to appear before running root hooks
wait for the specified directory to appear before running root hooks
wait for the specified mountpoint to appear before running root hooks
set the timeout for wait-for-fs/file/dir
wait for the specified socket to be ready before loading apps
set the timeout for wait-for-socket
call the specified function as soon as possible
call the specified function before jailing
call the specified function after jailing
call the specified function in jail after initialization
call the specified function before privileges drop
call the specified function after privileges drop
call the specified function before app exit and reload
call the specified function before app loading
call the specified function after app loading
call the specified function() before exec()ing the vassal
call the specified function(char *) before exec()ing the vassal
call the specified function(char *, uid_t, gid_t) before exec()ing the vassal
call the specified function() in the emperor after the vassal has been started
call the specified function(char *) in the emperor after the vassal has been started
call the specified function(char *, pid_t) in the emperor after the vassal has been started
call the specified function(char *, pid_t, uid_t, gid_t) in the emperor after the vassal has been started
load config from ini file
load config from yaml file
load config from yaml file
load config from json file
load config from json file
weight of the instance (used by clustering/lb/subscriptions)
set weight of the instance (used by clustering/lb/subscriptions) automatically
force no-server mode
force command mode
disable deferred-accept on sockets
enable TCP NODELAY on each request
enable TCP KEEPALIVEs
set SO_SNDTIMEO
set SO_SNDTIMEO
set SO_SNDTIMEO
set SO_SNDTIMEO
set SO_SNDBUF
set SO_RCVBUF
force calling shutdown() in addition to close() when sockets are destroyed
limit processes address space/vsz
limit the number of spawnable processes
reload if address space is higher than specified megabytes
reload if rss memory is higher than specified megabytes
force the master to reload a worker if its address space is higher than specified megabytes
force the master to reload a worker if its rss memory is higher than specified megabytes
set the memory collector frequency when evil reloads are in place
reload if the specified file descriptor is ready
brutal reload if the specified file descriptor is ready
enable Linux KSM
enable pcre jit (if available)
lock all memory pages avoiding swapping
reload uWSGI if the specified file is modified/touched
trigger reload of (only) workers if the specified file is modified/touched
reload mules if the specified file is modified/touched
reload spoolers if the specified file is modified/touched
trigger chain reload if the specified file is modified/touched
trigger logrotation if the specified file is modified/touched
trigger log reopen if the specified file is modified/touched
run command when the specified file is modified/touched (syntax: file command)
signal when the specified file is modified/touched (syntax: file signal)
graceful reload when the specified filesystem object is modified
brutal reload when the specified filesystem object is modified
raise a uwsgi signal when the specified filesystem object is modified (syntax: file signal)
destroy the instance if a filesystem is no more reachable (useful for reliable Fuse management)
destroy the instance if a filesystem is no more reachable (useful for reliable Fuse management)
destroy the instance if a filesystem is no more reachable (useful for reliable Fuse management)
destroy the instance if a filesystem is no more reachable (useful for reliable Fuse management)
over-engineering option for system with flaky signal management
limit request body
automatically kill workers if master dies (can be dangerous for availability)
set processes/threads priority
set cpu affinity
set size in bytes after which will buffer to disk instead of memory
set buffer size for read() in post buffering mode
set the amount of allowed memory allocation (in megabytes) for request body before starting printing a warning
enable creation of .json files in the specified directory during a file upload
do not fallback to default app
automatically rewrite SCRIPT_NAME and PATH_INFO
ignore SCRIPT_NAME
report exception as http output (discouraged, use only for testing)
reload a worker when an exception is raised
reload a worker when a specific exception type is raised
reload a worker when a specific exception value is raised
reload a worker when a specific exception type+value (language-specific) is raised
add an exception handler
enable metrics subsystem
add a custom metric
add a metric threshold/alarm
add a metric threshold/alarm
add a metric threshold/alarm
export metrics as text files to the specified directory
restore last value taken from the metrics dir
export metrics as text files to the specified directory
restore last value taken from the metrics dir
disable generation of cores-related metrics
run the udp server on the specified address
enable the stats server on the specified address
enable the stats server on the specified address
prefix stats server json output with http headers
minify statistics json output
minify statistics json output
push the stats json to the specified destination
set the default frequency of stats pushers
set the default frequency of stats pushers
disable generation of cores-related stats
do not include metrics in stats output
subscribe to specified multicast group
set multicast ttl
set multicast loop (default 1)
enable the master fifo
enable the notification socket
set the notification socket for subscriptions
became a member of a legion
became a member of a legion (shortcut for multicast)
add a node to a legion
set the frequency of legion packets
set the tolerance of legion subsystem
declare itself as a dead node for the specified amount of seconds if one of the lord hooks fails
set the clock skew tolerance of legion subsystem (default 30 seconds)
action to call on Lord election
action to call on Lord dismiss
action to call on legion setup
action to call on legion death (shutdown of the instance)
action to call on legion join (first time quorum is reached)
action to call on new node joining legion
action to call node leaving legion
set the quorum of a legion
set the scroll of a legion
set max size of legion scroll buffer
set max size of legion scroll list buffer
set digest algorithm and certificate directory for secured subscription system
set the maximum tolerance (in seconds) of clock skew for secured subscription system
skip signature check for the specified uid when using unix sockets credentials
add a directory to search for subscriptions key credentials
enable management of SCM_CREDENTIALS in subscriptions UNIX sockets
set load balancing algorithm for the subscription system
try to fallback to the next part (dot based) in subscription key
subscribe to the specified subscription server
subscribe to the specified subscription server
subscribe to the specified subscription server
subscribe to the specified subscription server using advanced keyval syntax
send subscription announce at the specified interval
set tolerance for subscription servers
force unsubscribe request even during graceful reload
configure subscriptions but do not send them (useful with master fifo)
force the specififed modifier1 when subscribing
enable the embedded snmp server
set the snmp community string
be verbose about SSL errors
set maximum certificate verification depth
add an SNI-governed SSL context
check for cert/key/client_ca file in the specified directory and create a sni/ssl context on demand
set ssl ciphers for sni-dir option
enable SSLv3 (insecure)
enable SSLv3 (insecure)
enable TLSv1 (insecure)
set a raw ssl option (numeric value)
add an SNI-governed SSL context (the key is a regexp)
store ssl-related temp files in the specified directory
set the interval (in seconds) of master checks
sleep for the specified number of seconds when a forkbomb is detected
force binary path
patch the uwsgi binary with a new command (before privileges drop)
patch the uwsgi binary with a new command (after privileges drop)
patch the uwsgi binary with a new command and arguments (before privileges drop)
patch the uwsgi binary with a new command and arguments (after privileges drop)
enable async mode with specified cores
set maximum number of file descriptors (requires root privileges)
set logfile/udp address
log to specified file or udp address after privileges drop
set advanced format for request logging
set advanced format for request logging
apply strftime to logformat output
apply strftime to logformat output
chown logfiles
chmod logfiles
log to syslog
send logs to the specified socket
set/append a request logger
set/append a request logger
set/append a logger
list enabled loggers
list enabled loggers
offload log writing to a thread
add an item in the log encoder chain
add an item in the log req encoder chain
drain (do not show) log lines matching the specified regexp
show only log lines matching the specified regexp
log to the specified named logger if regexp applied on logline matches
log requests to the specified named logger if regexp applied on logline matches
call abort() on segfault/fpe, could be useful for generating a core dump
create a new alarm, syntax: <alarm> <plugin:args>
use main alarm thread rather than create dedicated threads for curl-based alarms
tune the anti-loop alarm system (default 3 seconds)
raise the specified alarm when an fd is read for read (by default it reads 1 byte, set 8 for eventfd)
raise the specified alarm when the segmentation fault handler is executed
raise the specified alarm when the segmentation fault handler is executed
raise the specified alarm when the socket backlog queue is full
raise the specified alarm when the socket backlog queue is full
raise the specified alarm when the socket backlog queue is full
raise the specified alarm when the socket backlog queue is full
raise the specified alarm when the socket backlog queue is full
raise the specified alarm when the socket backlog queue is full
raise the specified alarm when a log line matches the specified regexp, syntax: <alarm>[,alarm...] <regexp>
raise the specified alarm when a log line matches the specified regexp, syntax: <alarm>[,alarm...] <regexp>
skip the specified alarm when a log line matches the specified regexp, syntax: <alarm>[,alarm...] <regexp>
skip the specified alarm when a log line matches the specified regexp, syntax: <alarm>[,alarm...] <regexp>
list enabled alarms
list enabled alarms
set the max size of an alarm message (default 8192)
delegate logging to master process
set the buffer size for the master logger. bigger log messages will be truncated
create the master logpipe as SOCK_STREAM
create the master requests logpipe as SOCK_STREAM
reopen log after reload
truncate log on startup
set maximum logfile size
set logfile name after rotation
prefix logs with date or a strftime string
prefix logs with date or a strftime string
prefix logs with a string
log responses without body
log requests slower than the specified number of milliseconds
log requests with a 4xx response
log requests with a 5xx response
log requestes bigger than the specified size
log sendfile requests
log requests with io errors
report response time in microseconds instead of milliseconds
use the ip from X-Forwarded-For header instead of REMOTE_ADDR
leave master process running as root
run privileges drop after plugin initialization, superseded by drop-after-apps
run privileges drop after apps loading, superseded by master-as-root
force the initial working directory to the specified value
override /bin/sh (used by exec hooks, it always fallback to /bin/sh)
chdir to specified directory before apps loading
chdir to specified directory after apps loading
set lazy mode (load apps in workers instead of master)
load apps in each worker instead of the master
set cheap mode (spawn workers only after the first request)
set cheaper mode (adaptive process spawning)
set the initial number of processes to spawn in cheaper mode
choose to algorithm used for adaptive process spawning
number of additional processes to spawn at each overload
increase workers after specified overload
list enabled cheapers algorithms
list enabled cheapers algorithms
list enabled cheapers algorithms
don't spawn new workers if total resident memory usage of all workers is higher than this limit
if total workers resident memory usage is higher try to stop workers
set idle mode (put uWSGI in cheap mode after inactivity)
shutdown uWSGI when idle
load application under mountpoint
load application under mountpoint in the specified worker or after workers spawn
run each worker in prethreaded mode with the specified number of threads
set threads stacksize
set threads stacksize
set threads stacksize
set threads stacksize
enable virtualhosting mode (based on SERVER_NAME variable)
enable virtualhosting mode (based on HTTP_HOST variable)
add a route
add a route based on Host header
add a route based on REQUEST_URI
add a route based on QUERY_STRING
add a route based on REMOTE_ADDR
add a route based on HTTP_USER_AGENT
add a route based on REMOTE_USER
add a route based on HTTP_REFERER
add a routing label (for use with goto)
add a route based on condition
add a route based on condition (negate version)
always run the specified route action
add a final route
add a final route for the specified status
add a final route based on Host header
add a final route based on REQUEST_URI
add a final route based on QUERY_STRING
add a final route based on REMOTE_ADDR
add a final route based on HTTP_USER_AGENT
add a final route based on REMOTE_USER
add a final route based on HTTP_REFERER
add a final routing label (for use with goto)
add a final route based on condition
add a final route based on condition (negate version)
always run the specified final route action
add an error route
add an error route for the specified status
add an error route based on Host header
add an error route based on REQUEST_URI
add an error route based on QUERY_STRING
add an error route based on REMOTE_ADDR
add an error route based on HTTP_USER_AGENT
add an error route based on REMOTE_USER
add an error route based on HTTP_REFERER
add an error routing label (for use with goto)
add an error route based on condition
add an error route based on condition (negate version)
always run the specified error route action
add a response route
add a response route for the specified status
add a response route based on Host header
add a response route based on REQUEST_URI
add a response route based on QUERY_STRING
add a response route based on REMOTE_ADDR
add a response route based on HTTP_USER_AGENT
add a response route based on REMOTE_USER
add a response route based on HTTP_REFERER
add a response routing label (for use with goto)
add a response route based on condition
add a response route based on condition (negate version)
always run the specified response route action
list enabled routers
list enabled routers
add an error page (html) for managed 403 response
add an error page (html) for managed 404 response
add an error page (html) for managed 500 response
set the frequency (in seconds) of websockets automatic ping packets
set the frequency (in seconds) of websockets automatic ping packets
set the tolerance (in seconds) of websockets ping/pong subsystem
set the tolerance (in seconds) of websockets ping/pong subsystem
set the max allowed size of websocket messages (in Kbytes, default 1024)
set the max allowed size of websocket messages (in Kbytes, default 1024)
set the max size of a chunked input part (default 1MB, in bytes)
set default timeout for chunked input
set a clock source
list enabled clocks
list enabled clocks
automatically add HTTP headers to response
automatically remove specified HTTP header from the response
automatically remove specified HTTP header from the response
store the specified response header in a request var (syntax: header var)
store the specified response header in a request var (syntax: header var)
store the specified response header in a request var and remove it from the response (syntax: header var)
check for static files in the specified directory
check for static files in the requested DOCUMENT_ROOT
check for static files in the specified directory
map mountpoint to static directory (or file)
like static-map but completely appending the requested resource to the docroot
skip specified extension from staticfile checks
search for specified file if a directory is requested
skip security checks if the file is under the specified path
put resolved paths in the uWSGI cache for the specified amount of seconds
use the specified cache for static paths
set mime types file path (default /etc/mime.types)
set mime types file path (default /etc/mime.types)
set the Expires header based on content type
set the Expires header based on content type and file mtime
set the Expires header based on filename regexp
set the Expires header based on filename regexp and file mtime
set the Expires header based on REQUEST_URI regexp
set the Expires header based on REQUEST_URI regexp and file mtime
set the Expires header based on PATH_INFO regexp
set the Expires header based on PATH_INFO regexp and file mtime
if the supplied regexp matches the static file translation it will search for a gzip version
check for a gzip version of all requested static files
check for a gzip version of all requested static files in the specified dir/prefix
check for a gzip version of all requested static files in the specified dir/prefix
check for a gzip version of all requested static files with the specified ext/suffix
check for a gzip version of all requested static files with the specified ext/suffix
enable support for the HTTP Range header
set the number of offload threads to spawn (per-worker, default 0)
set the number of offload threads to spawn (per-worker, default 0)
set static file serving mode
set static file serving mode
disable sendfile() and rely on boring read()/write()
check for response data in the specified cache (empty for default cache)
set close-on-exec on connection sockets (could be required for spawning processes in requests)
set close-on-exec on server sockets (could be required for spawning processes in requests)
set uWSGI custom mode
set environment variable
load a daemontools compatible envdir
load a daemontools compatible envdir ASAP
unset environment variable
try to remove all of the generated file/sockets
write the specified content to the specified file (syntax: file=value) before privileges drop
put the processes in the specified cgroup
set value in specified cgroup option
set permission for cgroup directory (default is 700)
run in a new namespace under the specified rootfs
keep the specified mountpoint in your namespace
run in a new namespace under the specified rootfs
add network namespace
add network namespace
enable PROXY1 protocol support (only for http parsers)
enable REUSE_PORT flag on socket (BSD only)
enable TCP_FASTOPEN flag on TCP sockets with the specified qlen value
enable TCP_FASTOPEN flag on TCP sockets with the specified qlen value
use sendto(..., MSG_FASTOPEN, ...) instead of connect() if supported
use sendto(..., MSG_FASTOPEN, ...) instead of connect() if supported
attach to a zerg server
fallback to normal sockets if the zerg server is not available
enable the zerg server on the specified UNIX socket
add a cron task
add a cron task (key=val syntax)
add a unique cron task
set the maximum time (in seconds) we wait for cron command to complete
add a cron task runnable only when the instance is a lord of the specified legion
add a cron task runnable only when the instance is a lord of the specified legion
add a unique cron task runnable only when the instance is a lord of the specified legion
add a unique cron task runnable only when the instance is a lord of the specified legion
select the uWSGI loop engine
list enabled loop engines
list enabled loop engines
run the specified command as worker
run the specified command as worker (after post_fork hook)
attach a command/daemon to the master process (the command has to not go in background)
attach a command/daemon to the master process (the command has to not go in background), when the daemon dies, the master dies too
attach a command/daemon to the master process managed by a pidfile (the command has to daemonize)
attach a command/daemon to the master process managed by a pidfile (the command has to NOT daemonize)
same as --attach-daemon but daemon runs only on legion lord node
same as --smart-attach-daemon but daemon runs only on legion lord node
same as --smart-attach-daemon2 but daemon runs only on legion lord node
do not change the stdin of external daemons to /dev/null
attach-daemon keyval variant (supports smart modes too)
load uWSGI plugins
load uWSGI plugins
load uWSGI plugins (exit on error)
load uWSGI plugins (exit on error)
add a directory to uWSGI plugin search path
add a directory to uWSGI plugin search path
list enabled plugins
list enabled plugins
try to automatically load plugins when unknown options are found
blindly load a shared library
comma separated list of allowed modifiers
remap request modifier from one id to another
dump the full list of available options
show the current config reformatted as ini
return the content of a resource to stdout for appending to a uwsgi binary (for data:// usage)
simple print
simple print (immediate version)
force exit() of the instance
report uWSGI CFLAGS (useful for building external plugins)
dump the uwsgi.h used for building the core (useful for building external plugins)
dump the uwsgiconfig.py used for building the core (useful for building external plugins)
build a uWSGI plugin for the current binary
print uWSGI version
set response header maximum size (default: 64k)
July 2018 uwsgi_v8 2.0.17.1-2