Skip to content
Myr

Documented config changes

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 0207e90 · Browse files · 1 file+10 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+10 added−1 removed

  • other:+10 added−1 removed

1 file+10 added−1 removed

modified:docs/config.rst+10 added-1 removed
93 unmodified lines
94 Required for subdomain support (e.g.:95 ``'myapp.dev:5000'``) Note that96 localhost does not support subdomains so97 setting this to “localhost” does not98 help.98 help. Setting a ``SERVER_NAME`` also99 by default enables URL generation100 without a request context but with an101 application context.102``APPLICATION_ROOT`` If the application does not occupy103 a whole domain or subdomain this can104 be set to the path where the application105 is configured to live. This is for
22 unmodified lines
128 why exactly it failed this flag can be129 used to debug those situations. If this130 config is set to ``True`` you will get131 a regular traceback instead.132``PREFERRED_URL_SCHEME`` The URL scheme that should be used for133 URL generation if no URL scheme is134 available. This defaults to ``http``.135================================= =========================================136137.. admonition:: More on ``SERVER_NAME``138
31 unmodified lines
170 ``APPLICATION_ROOT``, ``SESSION_COOKIE_DOMAIN``,171 ``SESSION_COOKIE_PATH``, ``SESSION_COOKIE_HTTPONLY``,172 ``SESSION_COOKIE_SECURE``173174.. versionadded:: 0.9175 ``PREFERRED_URL_SCHEME``176177Configuring from Files178----------------------179180Configuration becomes more useful if you can store it in a separate file,
213 unmodified lines