mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 02:49:12 +08:00
docs: recommend SCRIPT_NAME=/subfolder
This commit is contained in:
parent
687b78d20c
commit
52538ca907
@ -13,8 +13,12 @@ How do I set SCRIPT_NAME?
|
||||
By default ``SCRIPT_NAME`` is an empty string. The value could be set by
|
||||
setting ``SCRIPT_NAME`` in the environment or as an HTTP header. Note that
|
||||
this headers contains and underscore, so it is only accepted from trusted
|
||||
forwarders listed in the ``forwarded-allow-ips`` setting.
|
||||
forwarders listed in the :ref:`forwarded-allow-ips` setting.
|
||||
|
||||
.. note::
|
||||
|
||||
If your application should appear in a subfolder, your ``SCRIPT_NAME``
|
||||
would typically start with single slash but contain no trailing slash.
|
||||
|
||||
Server Stuff
|
||||
============
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user