Cómo forzar que el enrutamiento utilice siempre HTTPS o HTTP
YAML:
1
2
3
4
seguro:
ruta: /secure
valores predeterminados: { _controller: AppBundle:Main:secure }
esquemas: [/schema/routing"
xmlns:xsi="/schema/routing /schema/routing/routing-1.0.xsd">