From 2c49be3705fe3681ae774a54f670ca3c97be6a97 Mon Sep 17 00:00:00 2001 From: jmsche Date: Wed, 14 Dec 2022 15:21:07 +0100 Subject: [PATCH] Symfony CLI: add wildcard local domain information --- setup/symfony_server.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/setup/symfony_server.rst b/setup/symfony_server.rst index b9cdb4c2850..d9a6de22930 100644 --- a/setup/symfony_server.rst +++ b/setup/symfony_server.rst @@ -232,6 +232,14 @@ new custom domain. Browse the http://127.0.0.1:7080 URL to get the full list of local project directories, their custom domains, and port numbers. +You can also add a wildcard domain: + +.. code-block:: terminal + + $ symfony proxy:domain:attach "*.my-domain" + +So it will match all subdomains like ``https://admin.my-domain.wip``, ``https://other.my-domain.wip``... + When running console commands, add the ``https_proxy`` env var to make custom domains work: