Skip to content

Commit 7f52bf8

Browse files
committed
Explain why the env var is in lowercase
1 parent 2a85848 commit 7f52bf8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

setup/symfony_server.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ Enabling PHP-FPM
6363
When the server starts it will check for common patterns like ``web/app.php``,
6464
``web/app_dev.php`` or ``public/index.php``. If a file like this is found the
6565
server will automatically start with PHP-FPM enabled. Otherwise the server will
66-
start without PHP-FPM and will show a ``Page not found`` page when trying to
66+
start without PHP-FPM and will show a ``Page not found`` page when trying to
6767
access a ``.php`` file in the browser.
6868

6969
.. tip::
7070

7171
When an ``index.html`` and a front controller like e.g. ``index.php`` are
72-
both present the server will still start with PHP-FPM enabled but the
72+
both present the server will still start with PHP-FPM enabled but the
7373
``index.html`` will take precedence over the front controller. This means
7474
when an ``index.html`` file is present in ``public`` or ``web``, it will be
7575
displayed instead of the ``index.php`` which would show e.g. the Symfony
@@ -222,6 +222,12 @@ domains work:
222222
223223
$ https_proxy=http://127.0.0.1:7080 curl https://my-domain.wip
224224
225+
.. note::
226+
227+
Although env var names are always defined in uppercase, the ``https_proxy``
228+
env var `is treated differently`_ than other env vars and its name must be
229+
spelled in lowercase.
230+
225231
.. tip::
226232

227233
If you prefer to use a different TLD, edit the ``~/.symfony/proxy.json``
@@ -410,3 +416,4 @@ that Composer will also set the stability to ``dev`` for all root dependencies):
410416
.. _`proxy settings in Windows`: https://www.dummies.com/computers/operating-systems/windows-10/how-to-set-up-a-proxy-in-windows-10/
411417
.. _`proxy settings in macOS`: https://support.apple.com/guide/mac-help/enter-proxy-server-settings-on-mac-mchlp2591/mac
412418
.. _`proxy settings in Ubuntu`: https://help.ubuntu.com/stable/ubuntu-help/net-proxy.html.en
419+
.. `is treated differently`: https://ec.haxx.se/usingcurl/usingcurl-proxies#http_proxy-in-lower-case-only

0 commit comments

Comments
 (0)