File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -858,9 +858,10 @@ the right situation:
858
858
but the overrides only apply to one environment.
859
859
860
860
*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.
864
865
865
866
The ``.env `` and ``.env.<environment> `` files should be committed to the
866
867
repository because they are the same for all developers and machines. However,
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ subpath/subfolder of the reverse proxy.
167
167
To fix this, you need to pass the subpath/subfolder route prefix of the reverse
168
168
proxy to Symfony by setting the ``X-Forwarded-Prefix `` header. The header can
169
169
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.
171
171
172
172
The ``X-Forwarded-Prefix `` is used by Symfony to prefix the base URL of request
173
173
objects, which is used to generate absolute paths and URLs in Symfony applications.
You can’t perform that action at this time.
0 commit comments