Roundcube Community Forum

 

Make Webmail-Client reachable via http

Started by mcdaniels, January 01, 2024, 04:33:05 AM

Previous topic - Next topic

mcdaniels

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!




alec

force_https=false, use_https=true in Roundcube config.

mcdaniels

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

// 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';