Skip to content

Commit fbf663f

Browse files
committed
minor #17479 [Symfony CLI] Show usage of new command symfony proxy:url (Kocal)
This PR was merged into the 5.4 branch. Discussion ---------- [Symfony CLI] Show usage of new command `symfony proxy:url` <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Related to symfony-cli/symfony-cli#233 Thanks! Commits ------- ae927c9 feat(symfony-cli): add "symfony proxy:url" command usage
2 parents 8a1fdaf + ae927c9 commit fbf663f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: setup/symfony_server.rst

+8-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,14 @@ domains work:
237237

238238
.. code-block:: terminal
239239
240-
$ https_proxy=http://127.0.0.1:7080 curl https://my-domain.wip
240+
# Example with curl
241+
$ https_proxy=$(symfony proxy:url) curl https://my-domain.wip
242+
243+
# Example with Blackfire and curl
244+
$ https_proxy=$(symfony proxy:url) blackfire curl https://my-domain.wip
245+
246+
# Example with Cypress
247+
$ https_proxy=$(symfony proxy:url) ./node_modules/bin/cypress open
241248
242249
.. note::
243250

0 commit comments

Comments
 (0)