[Resolved] Insecure Mixed Content error when behind proxy SSL Termination

    • April 5, 2018 at 8:30 am #1027
      M
      eccles
      Participant

      <p>Hello,  I’m having and unique issue/bug with my setup.  We run our osticket installation behind an haproxy load-balancer that does SSL termination which seems to cause “was loaded over HTTPS, but requested an insecure prefetch resource” errors in the console when editing on theme.php.</p>
      <p>The bug does NOT exist when run normally stand-alone on port 80 or 433.   The issue only arises when the proxy does the SSL termination and then proxies the request to a standard port 80 install when viewing /scp/theme.php url.</p>
      <p>I’ve tried setting define(‘ROOT_PATH’, ‘https://mydomain.com/&#8217;); in both bootstrap.php and /include/ost-config.php but it has no effect.</p>
      <p>Any ideas on how I can get that page to detect the proper protocol?</p>
      <p></p>

You must be logged in to reply to this topic.