From 9beee51b0b1c190a90bdfae946a66ca0dddf0631 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Mon, 30 May 2011 21:32:01 +0200 Subject: [PATCH] Clarify in docs that the SERVER_NAME config can also take a port number. --- docs/config.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/config.rst b/docs/config.rst index 90a276cc..50aa5884 100644 --- a/docs/config.rst +++ b/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