From c2b226d056220c1d44144babd3d5c05acf0b01a6 Mon Sep 17 00:00:00 2001 From: Martijn Vermaat <martijn@vermaat.name> Date: Mon, 26 Oct 2015 11:19:09 +0100 Subject: [PATCH] Add note about REVERSE_PROXIED to deployment docs --- doc/config.rst | 2 ++ doc/deploy.rst | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/config.rst b/doc/config.rst index f956fee5..3f31f863 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -174,6 +174,8 @@ LOG_TIME_FORMAT Website settings ^^^^^^^^^^^^^^^^ +.. _config-reverse-proxied: + REVERSE_PROXIED If set to `True`, the WSGI application runs behind a reverse proxy (e.g., nginx using ``proxy_pass``). This needs to be set if the application is diff --git a/doc/deploy.rst b/doc/deploy.rst index ca0d90b2..c1647f4f 100644 --- a/doc/deploy.rst +++ b/doc/deploy.rst @@ -22,13 +22,15 @@ using Gunicorn, nginx and Supervisor. Configuration settings ---------------------- -It is recommended to at least set the following configuration settings: +At a minimum, it is recommended to have a look at the following configuration +settings: - :ref:`EMAIL <config-email>` - :ref:`DEBUG <config-debug>` - :ref:`CACHE_DIR <config-cache-dir>` - :ref:`SOAP_WSDL_URL <config-soap-wsdl-url>` - :ref:`JSON_ROOT_URL <config-json-root-url>` +- :ref:`REVERSE_PROXIED <config-reverse-proxied>` WSGI application server: Gunicorn -- GitLab