Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Documented config changes

  • Loading branch information...
commit ab110d8fe573c92f0f607a05cf31549399b98c1a 1 parent 0207e90
@mitsuhiko authored
Showing with 10 additions and 1 deletion.
  1. +10 −1 docs/config.rst
View
11 docs/config.rst
@@ -95,7 +95,10 @@ The following configuration values are used internally by Flask:
``'myapp.dev:5000'``) Note that
localhost does not support subdomains so
setting this to “localhost” does not
- help.
+ help. Setting a ``SERVER_NAME`` also
+ by default enables URL generation
+ without a request context but with an
+ application context.
``APPLICATION_ROOT`` If the application does not occupy
a whole domain or subdomain this can
be set to the path where the application
@@ -126,6 +129,9 @@ The following configuration values are used internally by Flask:
used to debug those situations. If this
config is set to ``True`` you will get
a regular traceback instead.
+``PREFERRED_URL_SCHEME`` The URL scheme that should be used for
+ URL generation if no URL scheme is
+ available. This defaults to ``http``.
================================= =========================================
.. admonition:: More on ``SERVER_NAME``
@@ -165,6 +171,9 @@ The following configuration values are used internally by Flask:
``SESSION_COOKIE_PATH``, ``SESSION_COOKIE_HTTPONLY``,
``SESSION_COOKIE_SECURE``
+.. versionadded:: 0.9
+ ``PREFERRED_URL_SCHEME``
+
Configuring from Files
----------------------
Please sign in to comment.
Something went wrong with that request. Please try again.