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

This commit is contained in:
Simon Sapin 2011-05-30 21:32:01 +02:00
parent e3f2dd8f08
commit 9beee51b0b

View file

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