mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Sync settings.rst with gunicorn/config.py
This commit is contained in:
parent
91892205bf
commit
7315721a37
@ -134,7 +134,7 @@ A positive integer generally in the ``2-4 x $(NUM_CORES)`` range.
|
||||
You'll want to vary this a bit to find the best for your particular
|
||||
application's work load.
|
||||
|
||||
If it is not defined, the default is 1.
|
||||
If it is not defined, the default is ``1``.
|
||||
|
||||
worker_connections
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
@ -439,6 +439,18 @@ with ``int(value, 0)`` (``0`` means Python guesses the base, so values
|
||||
like ``0``, ``0xFF``, ``0022`` are valid for decimal, hex, and octal
|
||||
representations)
|
||||
|
||||
initgroups
|
||||
~~~~~~~~~~
|
||||
|
||||
* ``--initgroups``
|
||||
* ``False``
|
||||
|
||||
If true, set the worker process's group access list with all of the
|
||||
groups of which the specified username is a member, plus the specified
|
||||
group id.
|
||||
|
||||
.. versionadded:: 19.7
|
||||
|
||||
tmp_upload_dir
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
@ -562,6 +574,16 @@ Valid level names are:
|
||||
* error
|
||||
* critical
|
||||
|
||||
capture_output
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
* ``--capture-output``
|
||||
* ``False``
|
||||
|
||||
Redirect stdout/stderr to Error log.
|
||||
|
||||
.. versionadded:: 19.6
|
||||
|
||||
logger_class
|
||||
~~~~~~~~~~~~
|
||||
|
||||
@ -1022,3 +1044,22 @@ ciphers
|
||||
|
||||
Ciphers to use (see stdlib ssl module's)
|
||||
|
||||
Server Mechanics
|
||||
----------------
|
||||
|
||||
raw_paste_global_conf
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* ``--paste-global CONF``
|
||||
* ``[]``
|
||||
|
||||
Set a PasteDeploy global config variable (key=value).
|
||||
|
||||
The option can be specified multiple times.
|
||||
|
||||
The variables are passed to the the PasteDeploy entrypoint. Ex.::
|
||||
|
||||
$ gunicorn -b 127.0.0.1:8000 --paste development.ini --paste-global FOO=1 --paste-global BAR=2
|
||||
|
||||
.. versionadded:: 20.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user