forked from orbit-oss/flask
Clarify APPLICATION_ROOT #1714
This commit is contained in:
parent
6efea346dd
commit
2995366dde
1 changed files with 7 additions and 7 deletions
|
|
@ -132,13 +132,13 @@ The following configuration values are used internally by Flask:
|
||||||
by default enables URL generation
|
by default enables URL generation
|
||||||
without a request context but with an
|
without a request context but with an
|
||||||
application context.
|
application context.
|
||||||
``APPLICATION_ROOT`` If the application does not occupy
|
``APPLICATION_ROOT`` The path value used for the session
|
||||||
a whole domain or subdomain this can
|
cookie if ``SESSION_COOKIE_PATH`` isn't
|
||||||
be set to the path where the application
|
set. If it's also ``None`` ``'/'`` is used.
|
||||||
is configured to live. This is for
|
Note that to actually serve your Flask
|
||||||
session cookie as path value. If
|
app under a subpath you need to tell
|
||||||
domains are used, this should be
|
your WSGI container the ``SCRIPT_NAME``
|
||||||
``None``.
|
WSGI environment variable.
|
||||||
``MAX_CONTENT_LENGTH`` If set to a value in bytes, Flask will
|
``MAX_CONTENT_LENGTH`` If set to a value in bytes, Flask will
|
||||||
reject incoming requests with a
|
reject incoming requests with a
|
||||||
content length greater than this by
|
content length greater than this by
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue