Document the default name and path for the configuration file

This commit is contained in:
Kevin Michel 2020-01-31 09:47:06 +01:00
parent a648f8a838
commit 83b78e09c1

View File

@ -6,15 +6,16 @@ Configuration Overview
Gunicorn reads configuration information from five places. Gunicorn reads configuration information from five places.
Gunicorn first reads environment variables for some Gunicorn first reads environment variables for some configuration
configuration :ref:`settings <settings>`. :ref:`settings <settings>`.
Gunicorn will then read configuration from a framework Gunicorn then reads configuration from a framework specific configuration
specific configuration file. Currently this only affects Paster applications. file. Currently this only affects Paster applications.
The third source of configuration information is a configuration file that is The third source of configuration information is an optional configuration file
optionally specified using command line arguments. Anything specified in the ``gunicorn.conf.py`` searched in the current working directory or specified
Gunicorn config file will override any framework specific settings. using a command line argument. Anything specified in this configuration file
will override any framework specific settings.
The fourth place of configuration information are command line arguments The fourth place of configuration information are command line arguments
stored in an environment variable named ``GUNICORN_CMD_ARGS``. stored in an environment variable named ``GUNICORN_CMD_ARGS``.