<VirtualHost *:443> ServerAdmin localhost@localhost.com SSLEngine On SSLCertificateFile ssl/server.pem SSLCertificateKeyFile ssl/server.key ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ServerSignature On ProxyRequests Off SSLProxyEngine on ProxyPreserveHost On RequestHeader set Front-End-Https "On" <Location /exchange> ProxyPass https://192.168.100.2/exchange ProxyPassReverse https://192.168.100.2/exchange SSLRequireSSL </Location> <Location /exchweb> ProxyPass https://192.168.100.2/exchweb ProxyPassReverse https://192.168.100.2/exchweb SSLRequireSSL </Location> <Location /public> ProxyPass https://192.168.100.2/public ProxyPassReverse https://192.168.100.2/public SSLRequireSSL </Location> <Location /Microsoft-Server-ActiveSync> ProxyPass https://192.168.100.2/Microsoft-Server-ActiveSync ProxyPassReverse https://192.168.100.2/Microsoft-Server-ActiveSync SSLRequireSSL </Location> CacheDisable * </VirtualHost>
|