Hi,
It was a configuration error of my own.
The error came from my configuration of Apache Proxy -- which I use -- I had configured "ProxyPreserveHost Off".
You need this configuration :
For example the SSL configurations of VHost Apache 158.69.126.137:443 or 7071 :
Regards,
Romain
It was a configuration error of my own.
The error came from my configuration of Apache Proxy -- which I use -- I had configured "ProxyPreserveHost Off".
You need this configuration :
Code:
ProxyPreserveHost On ProxyRequests Off ProxyVia On
Code:
<IfModule mod_ssl.c><VirtualHost 158.69.126.137:7071> ServerAdmin roots@zw3b.eu ServerName mail.zw3b.eu ServerAlias webmail.zw3b.eu ServerAlias mail.zw3b.fr webmail.zw3b.fr ServerAlias mail.zw3b.tv webmail.zw3b.tv ServerAlias mail.zw3b.com webmail.zw3b.com ServerAlias mail.zw3b.net webmail.zw3b.net ServerAlias mail.zw3b.blog webmail.zw3b.blog # LOGS ----------------------------------------- ErrorLog /var/log/apache2/mail.zw3b.eu.error.log Customlog /var/log/apache2/mail.zw3b.eu.access.log combined LogLevel warn # BALANCER ------------------------------------- <Proxy *> Order deny,allow Allow from all </Proxy> # Balancer <Proxy balancer://zw3bCluster/> Require all granted # A single ZIMBRA web server in this configuration BalancerMember https://10.104.0.1:7071 route=mail.zw3b.eu loadfactor=1 ProxySet stickysession=ROUTEID # lbmethod = byrequests bytraffic bybusyness ProxySet lbmethod=bybusyness </Proxy> Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" <Location /balancer-manager># SetHandler balancer-manager Require all granted #Options MultiViews FollowSymLinks -Indexes Options MultiViews FollowSymLinks# AllowOverride All AuthConfig Order deny,allow Deny All Allow from 62.210.205.199 Allow from 2001:bc8:25bb:ff58:1ab3:3a:faac:140 Allow from 2001:bc8:25bb:ff58:1ab3:3a:faac:141# Allow from all </Location> ProxyPass /balancer-manager ! ProxyPass /pub/mrtg(.*) ! ProxyPass /pub(.*) ! ProxyPass / balancer://zw3bCluster/ ProxyPassReverse / balancer://zw3bCluster/ # Balancer SSLEngine On # SSLProtocol -all +SSLv2 # SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP # SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW# SSLCertificateFile ssl/cert-lab3w.fr.crt# SSLCertificateKeyFile ssl/lab3w.fr.key# SSLCACertificateFile ssl/GandiStandardSSLCA.pem# SSLCertificateFile ssl/zw3b.fr.crt# SSLCertificateKeyFile ssl/zw3b.fr.key# SSLCACertificateFile ssl/lab3w-cacert.pem SSLCertificateFile /etc/ssl/letsencrypt/mail.zw3b.eu_ecc/mail.zw3b.eu.cer SSLCertificateKeyFile /etc/ssl/letsencrypt/mail.zw3b.eu_ecc/mail.zw3b.eu.key SSLCACertificateFile /etc/ssl/letsencrypt/mail.zw3b.eu_ecc/ca.cer SSLProxyEngine On SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off ProxyPreserveHost On ProxyRequests Off ProxyVia On SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1</VirtualHost></IfModule>
Romain
Statistics: Posted by LAB3W.ORJ — Mon Jul 22, 2024 2:35 pm