Skip to content

Commit 309320a

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: minor fix: typo in proxy docs [Configuration] Clarify `variables_order`
2 parents 7fa3daa + 56ca55f commit 309320a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

configuration.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -858,9 +858,10 @@ the right situation:
858858
but the overrides only apply to one environment.
859859

860860
*Real* environment variables always win over env vars created by any of the
861-
``.env`` files. This behavior depends on
862-
`variables_order <http://php.net/manual/en/ini.core.php#ini.variables-order>`_ to
863-
contain an ``E`` to expose the ``$_ENV`` superglobal.
861+
``.env`` files. Note that this behavior depends on the
862+
`variables_order <http://php.net/manual/en/ini.core.php#ini.variables-order>`_
863+
configuration, which must contain an ``E`` to expose the ``$_ENV`` superglobal.
864+
This is the default configuration in PHP.
864865

865866
The ``.env`` and ``.env.<environment>`` files should be committed to the
866867
repository because they are the same for all developers and machines. However,

deployment/proxies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ subpath/subfolder of the reverse proxy.
167167
To fix this, you need to pass the subpath/subfolder route prefix of the reverse
168168
proxy to Symfony by setting the ``X-Forwarded-Prefix`` header. The header can
169169
normally be configured in your reverse proxy configuration. Configure
170-
``X-Forwared-Prefix`` as trusted header to be able to use this feature.
170+
``X-Forwarded-Prefix`` as trusted header to be able to use this feature.
171171

172172
The ``X-Forwarded-Prefix`` is used by Symfony to prefix the base URL of request
173173
objects, which is used to generate absolute paths and URLs in Symfony applications.

0 commit comments

Comments
 (0)