Browse Source

Merge pull request #238 from SimonSapin/doc-SERVER_NAME-fix

Clarify in docs that the SERVER_NAME config can also take a port number.
pull/239/merge
Ron DuPlain 14 years ago
parent
commit
c7ff139481
  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.
``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

Loading…
Cancel
Save