Warning: You are browsing the documentation for Symfony 4.0, which is no longer maintained.
Read the updated version of this page for Symfony 5.3 (the current stable version).
There are more possibilities to restrict firewalls. You can read everything
about all the possibilities (including
host) in "How to Restrict Firewalls to a Specific Request".