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
..
2012-10-18 18:12:14 +02:00
2017-09-16 17:46:19 +03:00
2014-09-10 09:52:12 -04:00
2017-09-18 07:15:37 +03:00
2018-04-27 23:43:53 -07:00
2018-02-19 22:00:41 +03:00
2018-08-01 15:31:17 +03:00
2017-09-16 17:46:19 +03:00
2018-08-01 15:31:17 +03:00
2018-08-01 15:31:17 +03:00
2018-02-19 13:55:21 +02:00
2018-07-03 13:09:09 -07:00