cachethq / Docker

A Dockerized version of Cachet.
https://cachethq.io
BSD 3-Clause "New" or "Revised" License
416 stars 280 forks source link

Docker version of Cachet not working with HTTPS #384

Open markjrouse opened 4 years ago

markjrouse commented 4 years ago

I'm using the docker version of Cachet, with Nginx, Postgres and PHP and I can deploy it successfully as out of the box with the HTTP config. Is there a corresponding nginx.conf, nginx-site.conf and dockerfile to support ssl? I've tried so many different configurations but I just can't get it working. I'm running it on an AWS Linux 2 instance: do I need specific modules installed on the server?

welcome[bot] commented 4 years ago

:wave: Thank you for opening your first issue. I'm just an automated bot that's here to help you get the information you need quicker, so please ignore this message if it doesn't apply to your issue. If you're looking for support, you should try the Slack group by registering your email address at https://cachethq-slack.herokuapp.com. Alternatively, email support@alt-three.com for our Professional support service (please note, this a paid service.) If you're issue is with documentation, you can suggest edits by clicking the Suggest Edits link on any page, or open an issue at https://github.com/CachetHQ/Docs

r9labs commented 4 years ago

This is an issue for me as well. It seems like the codebase is statically configured to use http by default and will not serve the css/images over https. I can't tell if its inheriting that from a database setting or not. I tried specifying the APP_URL to use https:// and still no dice.

ygwane commented 4 years ago

Give it a try with this in front of cachet docker compose stack: https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion

fjareta commented 4 years ago

Hi man. I have same problem...

Did you get solved it?

angarod commented 3 years ago

related to https://github.com/CachetHQ/Docker/issues/158