From 83b78e09c10c2f7a07eed5300104cc09a4f4cbf4 Mon Sep 17 00:00:00 2001 From: Kevin Michel Date: Fri, 31 Jan 2020 09:47:06 +0100 Subject: [PATCH] Document the default name and path for the configuration file --- docs/source/configure.rst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/source/configure.rst b/docs/source/configure.rst index 370f7070..c340f5ee 100644 --- a/docs/source/configure.rst +++ b/docs/source/configure.rst @@ -6,15 +6,16 @@ Configuration Overview Gunicorn reads configuration information from five places. -Gunicorn first reads environment variables for some -configuration :ref:`settings `. +Gunicorn first reads environment variables for some configuration +:ref:`settings `. -Gunicorn will then read configuration from a framework -specific configuration file. Currently this only affects Paster applications. +Gunicorn then reads configuration from a framework specific configuration +file. Currently this only affects Paster applications. -The third source of configuration information is a configuration file that is -optionally specified using command line arguments. Anything specified in the -Gunicorn config file will override any framework specific settings. +The third source of configuration information is an optional configuration file +``gunicorn.conf.py`` searched in the current working directory or specified +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 stored in an environment variable named ``GUNICORN_CMD_ARGS``.