From 708bb840a120cff1425e38f6cd83f6d304e2f3e0 Mon Sep 17 00:00:00 2001 From: Igor Petrov Date: Sat, 14 Dec 2013 01:43:16 +0400 Subject: [PATCH] Split access_log_format specifiers description into multiply lines Correct sphinx-build error: source/settings.rst:762: ERROR: Inconsistent literal block quoting. --- gunicorn/config.py | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/gunicorn/config.py b/gunicorn/config.py index e61bb2c0..a645aacb 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -948,20 +948,20 @@ class AccessLogFormat(Setting): %(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s" - h: remote address - l: '-' - u: currently '-', may be user name in future releases - t: date of the request - r: status line (ex: GET / HTTP/1.1) - s: status - b: response length or '-' - f: referer - a: user agent - T: request time in seconds - D: request time in microseconds, - p: process ID - {Header}i: request header - {Header}o: response header + | h: remote address + | l: '-' + | u: currently '-', may be user name in future releases + | t: date of the request + | r: status line (ex: GET / HTTP/1.1) + | s: status + | b: response length or '-' + | f: referer + | a: user agent + | T: request time in seconds + | D: request time in microseconds, + | p: process ID + | {Header}i: request header + | {Header}o: response header """ @@ -1386,12 +1386,12 @@ class ProxyProtocol(Setting): Example for stunnel config:: - [https] - protocol = proxy - accept = 443 - connect = 80 - cert = /etc/ssl/certs/stunnel.pem - key = /etc/ssl/certs/stunnel.key + [https] + protocol = proxy + accept = 443 + connect = 80 + cert = /etc/ssl/certs/stunnel.pem + key = /etc/ssl/certs/stunnel.key """