Hello
I use Apache ProxyPass and ProxyPassReverse
Here are my settings :
ServerName mail.domain.tld
ProxyRequests Off
SSLStrictSNIVHostCheck Off
SSLEngine on
SSLProxyEngine On
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off
SSLProxyVerify none
ProxyPass / https://192.168.1.10/ -> My server ip address
ProxyPassReverse / https://192.168.1.10/
ProxyPreserveHost On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
But, be carreful, it's only for an ActiveSync connexion. (Port 443). It's not working with the others ports ( 993, 25, 465, 587 etc)
In this proxy, I also have the integration of Letsencrypt certificates