Created
July 16, 2013 15:46
-
-
Save chadrien/6009913 to your computer and use it in GitHub Desktop.
Symfony 2 : per host firewall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
my_host.firewall.request_matcher: | |
class: Symfony\Component\HttpFoundation\RequestMatcher | |
arguments: ["/", "www\.host\.eu"] | |
security: | |
firewalls: | |
my_firewall: | |
request_matcher: site.my_firewall.request_matcher |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment