Author Topic: Make Webmail-Client reachable via http  (Read 968 times)

Offline mcdaniels

  • Newbie
  • *
  • Posts: 2
Make Webmail-Client reachable via http
« on: January 01, 2024, 04:33:05 AM »
Hi,
I am running a nginx reverse proxy with roundcube mail. My problem is that I cannot make the Webmail-Client Run at port 80. It Always redirects to https. I checked nginx config of roundcube, switched the vhost to Port 80 and tried to disable the forwarding to 443 by roundcube itself.

When I User a vhost which only uses port 80 I get the nginx Welcome page, If I try to use the http://fqdn/mail I get an not found error.

So I wonder whether it is possible to run roundcube webmail behind a reverse proxy.

I also have to say that I use iRedmail, where roundcube ist bundeled with.

No matter what config I use, it is Not working.

do you have any suggestions?

Thank you a lot!




Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Make Webmail-Client reachable via http
« Reply #1 on: January 01, 2024, 05:00:27 AM »
force_https=false, use_https=true in Roundcube config.

Offline mcdaniels

  • Newbie
  • *
  • Posts: 2
Re: Make Webmail-Client reachable via http
« Reply #2 on: January 01, 2024, 06:30:26 AM »
Hi,
thanks for your reply.

I modified the mentioned settings in config.inc.php, but unfortunatly I am still automatically redirected to https.

SYSTEMPART of config.inc.php is looking like

Code: [Select]
// SYSTEM
$config['auto_create_user'] = true;
$config['force_https'] = false;
$config['use_https'] = true;
$config['login_autocomplete'] = 2;
$config['ip_check'] = false;
$config['des_key'] = 'xxxxxxxx';
$config['cipher_method'] = 'AES-256-CBC';
$config['useragent'] = 'Roundcube Webmail'; // Hide version number
//$config['username_domain'] = 'my.domain';
$config['mime_types'] = '/etc/mime.types';
$config['max_message_size'] = '15M';