Skip to content

Commit 7542cfe

Browse files
committed
Merge branch '4.4' into 5.4
* 4.4: Improve the local server proxy troubleshooting section Fix YAML example in "Defining a Service Locator" section
2 parents 4dac3da + fe518d1 commit 7542cfe

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

service_container/service_subscribers_locators.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,10 @@ argument of type ``service_locator``:
256256
# config/services.yaml
257257
services:
258258
App\CommandBus:
259-
arguments: !service_locator
260-
App\FooCommand: '@app.command_handler.foo'
261-
App\BarCommand: '@app.command_handler.bar'
259+
arguments:
260+
- !service_locator
261+
App\FooCommand: '@app.command_handler.foo'
262+
App\BarCommand: '@app.command_handler.bar'
262263
263264
.. code-block:: xml
264265

setup/symfony_server.rst

+9-6
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,15 @@ Now run this command to start the proxy:
202202
203203
$ symfony proxy:start
204204
205-
.. note::
206-
207-
Some browsers (e.g. Chrome) require to re-apply proxy settings (clicking on
208-
``Re-apply settings`` button on the ``chrome://net-internals/#proxy`` page)
209-
or a full restart after starting the proxy. Otherwise, you'll see a
210-
*"This webpage is not available"* error (``ERR_NAME_NOT_RESOLVED``).
205+
If the proxy doesn't work as explained in the following sections, check these:
206+
207+
* Some browsers (e.g. Chrome) require to re-apply proxy settings (clicking on
208+
``Re-apply settings`` button on the ``chrome://net-internals/#proxy`` page)
209+
or a full restart after starting the proxy. Otherwise, you'll see a
210+
*"This webpage is not available"* error (``ERR_NAME_NOT_RESOLVED``);
211+
* Some Operating Systems (e.g. macOS) don't apply by default the proxy settings
212+
to local hosts and domains. You may need to remove ``*.local`` and/or other
213+
IP addresses from that list.
211214

212215
Defining the Local Domain
213216
~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)