title: Liferay using http and https
body: <p>I'm trying to use Liferay for http and https</p>
  
  <p>if I include in portal-ext.properties:</p>
  
  <pre><code>company.security.auth.requires.https=true
  web.server.protocol=https
  </code></pre>
  
  <p>Will be working ok with https but in http is showing incorrect themes due is trying to load <a href="https://domain.com/theme" rel="nofollow">https://domain.com/theme</a></p>
  
  <p>If I remove this two lines is working ok for http but not for https.</p>
  
  <p>What can I do?</p>