@@ -63,13 +63,13 @@ Enabling PHP-FPM
63
63
When the server starts it will check for common patterns like ``web/app.php ``,
64
64
``web/app_dev.php `` or ``public/index.php ``. If a file like this is found the
65
65
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
67
67
access a ``.php `` file in the browser.
68
68
69
69
.. tip ::
70
70
71
71
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
73
73
``index.html `` will take precedence over the front controller. This means
74
74
when an ``index.html `` file is present in ``public `` or ``web ``, it will be
75
75
displayed instead of the ``index.php `` which would show e.g. the Symfony
@@ -215,12 +215,18 @@ new custom domain.
215
215
Browse the http://127.0.0.1:7080 URL to get the full list of local project
216
216
directories, their custom domains, and port numbers.
217
217
218
- When running console commands, add the ``HTTPS_PROXY `` env var to make custom
218
+ When running console commands, add the ``https_proxy `` env var to make custom
219
219
domains work:
220
220
221
221
.. code-block :: terminal
222
222
223
- $ HTTPS_PROXY=http://127.0.0.1:7080 curl https://my-domain.wip
223
+ $ https_proxy=http://127.0.0.1:7080 curl https://my-domain.wip
224
+
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.
224
230
225
231
.. tip ::
226
232
@@ -359,3 +365,4 @@ debug any issues.
359
365
.. _`proxy settings in Windows` : https://www.dummies.com/computers/operating-systems/windows-10/how-to-set-up-a-proxy-in-windows-10/
360
366
.. _`proxy settings in macOS` : https://support.apple.com/guide/mac-help/enter-proxy-server-settings-on-mac-mchlp2591/mac
361
367
.. _`proxy settings in Ubuntu` : https://help.ubuntu.com/stable/ubuntu-help/net-proxy.html.en
368
+ .. `is treated differently`: https://ec.haxx.se/usingcurl/usingcurl-proxies#http_proxy-in-lower-case-only
0 commit comments