Ron DuPlain 6d76ed8e6c Provide guidance on X-Forwarded-For access log. (#1906)
The doc change introduced in #1037 is initially helpful but then internally
inconsistent. It correctly points out that X-Forwarded-For is no longer
used in setting REMOTE_ADDR (c4873681299212d6082cd9902740eef18c2f14f1),
but then confusingly indicates a solution using the X-Forwarded-For header.

The deployment doc provides a full configuration example which includes
proxy headers as set by nginx. What is missing, before this patch, is a
clear suggestion on how to make use of the header in Gunicorn's access
log.

Accordingly, remove the confusing suggestion and replace it with a drop-in
replacement for Gunicorn's default access log format.
2018-11-16 19:52:37 +03:00
..
2014-03-31 11:14:45 -07:00
2018-09-03 09:14:56 +02:00
2012-10-03 05:04:07 +05:45
2018-08-01 15:31:17 +03:00
2014-09-10 09:52:12 -04:00
2018-08-01 15:31:17 +03:00

Generate Documentation
======================

Requirements
------------

To generate documentation you need to install:

 - Python >= 3.4
 - Sphinx (http://sphinx-doc.org/)


Generate html
-------------
::

    $ make html

The command generates html document inside ``build/html`` dir.