Skip to content
Myr

Clarify in docs that the SERVER_NAME config can also take a port number.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Simon Sapin · committed by Simon Sapin · parent e3f2dd8 · Browse files · 1 file+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:docs/config.rst+3 added-2 removed
63 unmodified lines
64``PERMANENT_SESSION_LIFETIME`` the lifetime of a permanent session as65 :class:`datetime.timedelta` object.66``USE_X_SENDFILE`` enable/disable x-sendfile67``LOGGER_NAME`` the name of the logger68``SERVER_NAME`` the name of the server. Required for69 subdomain support (e.g.: ``'localhost'``)68``SERVER_NAME`` the name and port number of the server.69 Required for subdomain support (e.g.:70 ``'localhost:5000'``)71``MAX_CONTENT_LENGTH`` If set to a value in bytes, Flask will72 reject incoming requests with a73 content length greater than this by74 returning a 413 status code.
163 unmodified lines