Skip to content

Commit

Permalink
Update usage example for secure_proxy_ssl_header
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Aug 28, 2016
1 parent 23aaaf5 commit 3dc2221
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/web_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1138,8 +1138,11 @@ duplicated like one using :meth:`Application.copy`.

Creates HTTP protocol factory for handling requests.

:param tuple secure_proxy_ssl_header: Secure proxy SSL header. Can be used
to detect request scheme. Default: ``None``.
:param tuple secure_proxy_ssl_header: Secure proxy SSL header. Can
be used to detect request scheme,
e.g. ``secure_proxy_ssl_header=('X-Forwarded-Proto', 'https')``.

Default: ``None``.
:param bool tcp_keepalive: Enable TCP Keep-Alive. Default: ``True``.
:param int keepalive_timeout: Number of seconds before closing Keep-Alive
connection. Default: ``75`` seconds (NGINX's default value).
Expand Down

0 comments on commit 3dc2221

Please sign in to comment.