title: Laravel 5.2 : url() function to return "https" urls?
body: <p>I'm using <code>Laravel 5.2</code>. Below is one example of <code>url()</code> usage in one of my view (blade) file:</p>
  
  <pre><code>&lt;form class="form-horizontal" role="form" method="POST" action="{{ url('/register') }}"&gt;
  ..
  ..
  &lt;/form&gt;
  </code></pre>
  
  <p>It returns me non-https urls like:
  <code>http://www.example.com/register</code></p>
  
  <p>I need it to be HTTPS. I'm already using valid HTTPS on my Website.</p>
  
  <p>In my <code>.env</code> file, it is already:<br />
  <code>APP_URL=https://www.example.com</code></p>
  
  <p>In my <code>config/app.php</code>, it is already:<br />
  <code>'url' =&gt; env('APP_URL', 'https://www.example.com'),</code></p>
  
  <p>So <strong>what else do i need to configure for the <code>LV 5.2</code> to return the HTTPS urls via <code>url()</code> helper function</strong> please?</p>
  
  <p>Thank you.</p>