title: Laravel: how to force HTTPS?
body: <p>I'm starting to develop a new big app, and I'm using Laravel this time, and it's the first time.</p>
  
  <p>I need to force HTTPS for all pages, it's not important if from code or by .htaccess, but I'm not able to find a simple tutorial. </p>
  
  <p>The official docs dosn't speak about this problem.</p>
  
  <p>For info, my acutal .htaccess is</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      &lt;IfModule mod_negotiation.c&gt;
          Options -MultiViews
      &lt;/IfModule&gt;
  
      RewriteEngine On
  
      # Redirect Trailing Slashes If Not A Folder...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)/$ /$1 [L,R=301]
  
      # Handle Front Controller...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.php [L]
  
      # Handle Authorization Header
      RewriteCond %{HTTP:Authorization} .
      RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>My question is specific to Laravel 5, because I ve no idea on where and how modify this .htaccess file. And also I'am asking you if this is the right way for Laravel or if Laravel has something specific to setup to handle HTTPs. </p>
  
  <p>So please do not close my question and try to be more adherent to the Laravel specific topic. </p>
  
  <p>If you can post a simple way to modify this file AND/OR What to modify in Laravel config to properly handle https. </p>
  
  <p>But in short yes, I want to force every call to transit on HTTPS.</p>