Search This Blog

Friday, 14 September 2018

Microsoft Exchange 2010 detras de un proxy reverso Apache HTTP

Este es un ejemplo de configuración de Apache HTTP como proxy reverso de un servidor Microsoft Exchange 2010

 

Crear un archivo de configuración para el proxy reverso Apache HTTP 

  • mail.foo.com es el FQDN de OWA desde internet

  • <ip exchange> es la IP del servidor exchange en la red interna

owa.conf:


 
NameVirtualHost *:443
ProxyRequests Off

<VirtualHost *:443>
    ServerAdmin <admin_email>
    ServerName mail.foo.com
    DocumentRoot /var/www
    ProxyPreserveHost On
    ProxyVia Full
    RequestHeader edit Transfer-Encoding Chunked chunked early
    RequestHeader unset Accept-Encoding
    ProxyRequests Off
    CheckSpelling On
    TimeOut 1800

    SSLEngine On
    SSLProxyEngine On
    SSLCertificateFile <cert pub>
    SSLCertificateKeyFile <cert priv>
    SSLCertificateChainFile <cert chain>

    Redirect / https://mail.foo.com/owa 

    <Location /owa>
        ProxyPass https://<ip exchange>/owa
        ProxyPassReverse https://<ip exchange>/owa
        SSLRequireSSL
    </Location>

    <Location /Microsoft-Server-ActiveSync>
        ProxyPass https://<ip exchange>/Microsoft-Server-ActiveSync
        ProxyPassReverse https://<ip exchange>/Microsoft-Server-ActiveSync
        SSLRequireSSL
    </Location>

    <Location /rpc>
        ProxyPass https://<ip exchange>/rpc
        ProxyPassReverse https://<ip exchange>/rpc
        SSLRequireSSL
    </Location>

    <Location /Rpc>
        ProxyPass https://<ip exchange>/Rpc
        ProxyPassReverse https://<ip exchange>/Rpc
        SSLRequireSSL
    </Location>

</VirtualHost> 

No comments:

Post a Comment

Thanks for your comment!