Author Topic: roundcubemail docker provides https?  (Read 3778 times)

Offline dave08

  • Jr. Member
  • **
  • Posts: 11
roundcubemail docker provides https?
« on: December 21, 2020, 11:42:23 AM »
Hello.
while I'm still working to solve some other problems using the provided docker, how can I force https ?
I've tried to use -p 8080:443 when starting it, but this port is not listening.
Regards
David

Offline dave08

  • Jr. Member
  • **
  • Posts: 11
Re: roundcubemail docker provides https?
« Reply #1 on: December 22, 2020, 07:23:51 AM »
Ok, so from what I read from the Docker site:
"By default, Docker runs through a non-networked UNIX socket. It can also optionally communicate using an HTTP socket."
securing the communication is a bit complicated and has to be applied for all dockers, if I understood correctly.

Instead, now I'm using a https connection and reverse proxy to the docker. Curiously, my login page has no image. Any ideas why?
Thanks and regards.
Dave

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: roundcubemail docker provides https?
« Reply #2 on: December 22, 2020, 07:40:34 AM »
$config['use_https'] = true;

Offline dave08

  • Jr. Member
  • **
  • Posts: 11
Re: roundcubemail docker provides https?
« Reply #3 on: December 22, 2020, 09:01:11 AM »
Thank you!
But as I'm using a docker, it's no good.
Regards!

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: roundcubemail docker provides https?
« Reply #4 on: December 22, 2020, 04:12:41 PM »
have you looked at the example docker configs here https://github.com/roundcube/roundcubemail-docker/tree/master/examples a couple of those look like they have HTTPS related settings.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline dave08

  • Jr. Member
  • **
  • Posts: 11
Re: roundcubemail docker provides https?
« Reply #5 on: December 23, 2020, 04:43:57 AM »
Thanks for the reply.
I'm still reading and testing using information from the site you mentioned. I'll continue to investigate.
Thanks once again.
Merry Christmas everyone.