title: Symfony 2: Force https for all routes
body: <p>I have made a web application in the symfony 2 framework. 
  This is working fine but now i want to change the http:// to https:// for all the routes!</p>
  
  <p>And how can I check if my environment is localhost in this. If I work locally I want to use the normal http://.</p>
  
  <p>Where to set this, i can't find it? </p>
  
  <p>Thanks!</p>