cachet icon indicating copy to clipboard operation
cachet copied to clipboard

feat: FORCE_HTTPS_URLS env to force \URL schemes to https

Open lbennett-stacki opened this issue 3 years ago • 5 comments

For https://github.com/CachetHQ/Docker/issues/158

I have cachet behind SSL terminating load balancer. Cachet is rendering pages with assets to request using the http protocol. Browsers will block these assets if you are accessing over https, even if the asset ingress forces redirects.

lbennett-stacki avatar Jul 14 '21 13:07 lbennett-stacki

Congratulations on opening your first Pull Request, this is a momentous day for you and us! :sparkles: To help us out, please make sure that you've followed the below:

  • Non-English translations should be submitted to https://translate.cachethq.io - Documentation should be submitted to https://docs.cachethq.io - Please make sure that all tests pass! - Don't worry about StyleCI, it'll fix itself on merge.

welcome[bot] avatar Jul 14 '21 13:07 welcome[bot]

We use this fix here and it's working fine. Please consider merging it into base repo.

ChrisTG742 avatar Nov 04 '21 08:11 ChrisTG742

Came here because of the same issue and wondering when that simple fix can be merged as it seems it's affecting quite some users when running cachethq behind TLS balancer/reverse proxy. Don't know what's the best approach for the time being to easily deploy the container, maybe apply the patch and rebuild a container and so not deploy the official one ?

arrfab avatar Nov 30 '21 15:11 arrfab

some links for issues : #3952

arrfab avatar Nov 30 '21 15:11 arrfab

FWIW (for people willing to use it as container), I just built this for my own usage : https://quay.io/repository/farrotin/cachethq So basically :

  • using original/upstream container image
  • applying this patch

arrfab avatar Nov 30 '21 16:11 arrfab