Quantcast
Channel: iRedMail — iRedMail Support
Viewing all articles
Browse latest Browse all 43505

Iredmail behind apache Reverse proxy

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.2.1 MARIADB edition.
- Deployed with the downloadable installer
- Linux/BSD distribution name and version: Debian 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? : no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Thanks you a lot for this application.
I use SSO portal (Lemonldap) on apache and i try to access Iredmail through this apache with this configuration but it's loop

<VirtualHost *:443>
        ServerAdmin webmaster@localhost
        ServerName webmail.domain.com
        SSLCertificateFile    /etc/letsencrypt/live/domain.com/cert.pem
        SSLCertificateKeyFile /etc/letsencrypt/live/domain.com/privkey.pem
        SSLCertificateChainFile /etc/letsencrypt/live/domain.com/fullchain.pem
        SSLEngine on
        SSLProxyEngine on
        ProxyRequests off
        ProxyPreserveHost On
        
        
        PerlHeaderParserHandler Lemonldap::NG::Handler::ApacheMP2
        
        
        <Proxy *>
        Order allow,deny
        Allow from all
        </Proxy>
        ProxyPass / [url]https://192.168.XX.X/mail/[/url]
        ProxyPassReverse / [url]https://192.168.XX.X/mail/[/url]

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined
        
</VirtualHost>
<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName webmail.domain.com
        
        Redirect permanent / [url]https://webmail.domain.com/[/url]
        
        CustomLog /var/log/apache2/access.log combined
</VirtualHost>

Have you idea to work it, I can't change my sso portal to use Nginx reverse proxy.
Thanks a lot for your time


Viewing all articles
Browse latest Browse all 43505

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>