As you specify another subdomain for secure content: for example, in the security.yml file, I have the following in the access_control: section access_control:
- { path: ^/Account/Login, access: isAnonymous(), requires_channel: https }
This is good for my development environment because I have a self-signed template. In fact, in my production environment for this particular website, I have an existing SSL certificate that I would like to use instead of buying another.
So, tell me that my site is http://www.somesite.com/ , and access to safe materials should be available https://secure.somesite.com/ ... How do I tell Symfony2 instead?
source share