Browse Source

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

pull/238/head
Simon Sapin 14 years ago
parent
commit
9beee51b0b
  1. 5
      docs/config.rst

5
docs/config.rst

@ -65,8 +65,9 @@ The following configuration values are used internally by Flask:
:class:`datetime.timedelta` object. :class:`datetime.timedelta` object.
``USE_X_SENDFILE`` enable/disable x-sendfile ``USE_X_SENDFILE`` enable/disable x-sendfile
``LOGGER_NAME`` the name of the logger ``LOGGER_NAME`` the name of the logger
``SERVER_NAME`` the name of the server. Required for ``SERVER_NAME`` the name and port number of the server.
subdomain support (e.g.: ``'localhost'``) Required for subdomain support (e.g.:
``'localhost:5000'``)
``MAX_CONTENT_LENGTH`` If set to a value in bytes, Flask will ``MAX_CONTENT_LENGTH`` If set to a value in bytes, Flask will
reject incoming requests with a reject incoming requests with a
content length greater than this by content length greater than this by

Loading…
Cancel
Save