title: Why isn't _SERVER["HTTPS"] set to 1?
body: <p>My site has an SSL cert and I'm hitting <a href="https://mysite.com/info.php" rel="nofollow noreferrer">https://mysite.com/info.php</a>, but under the PHP Variables section _SERVER["HTTPS"] is not being reported. I believe this is causing a problem with a Drupal site where some URLs are being written to the page as https://... where others are being written as http://...</p>
  
  <p>What determines if _SERVER["HTTPS"] is set?</p>
  
  <hr>
  
  <p><strong>EDIT:</strong> This may be the answer to my problem <a href="https://stackoverflow.com/questions/552162/detecting-https-vs-http-on-server-sending-back-nothing-useful">Detecting HTTPS vs HTTP on server sending back nothing useful</a>. Could be a load balancer issue</p>