Jump to content

Recommended Posts

Posted

Hi,

we are using revive server in setup with haproxy. Haproxy is terminating ssl connections and it's forwarding HTTP requests to revive adserver with custom header set X_FORWARDED_PROTO = https.
From what I see the revive server doesn't recognize this header, and we have "mixed-content" problem in admin panel

In variables.php I've setup $GLOBALS['_MAX']['SSL_REQUEST'] = true, so no matter what headers are set revive should use https.

The problem is, the Revive server is still serving some content via http. Namly css files in admin panel.

Is there an other places in config files that I should modify to instruct adserver to use https ? 

Thanks.

Posted

I should add that revive server is running on IIS 10.

Now I'm getting proper headers from haproxy:

HTTP_X_FORWARDED_PROTO => https 
HTTP_X_FORWARDED_PORT => 443 

This should trigger revive server to recognize that original request came via https but still it doesn't do that.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...