Docker: SSL load balancer X-Header-Protocol is not honored

Hi,

On a AWS load balancer SSL termination configuration with version v2.3.9 we are having issues with links on the pages. The links are back in the http protocol and we can not make them use https.

Given a request: screenshot 2017-02-24 16 07 40

the service is responding with html having links with http:

<a href="http://digitraffic-status-test.integraatiot.eu?start_date=2017-02-18" class="links">

There must be something wrong with our nginx config inside the container.

I hope someone could see where the problem might be.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 1
  • Comments: 15 (8 by maintainers)

Most upvoted comments

By default, we ship with CloudFlare’s IP. You will need to add the ones you need: https://github.com/CachetHQ/Cachet/blob/2.4/config/trustedproxy.php#L30.