Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName webmail.deko.yt
- ServerAlias autodiscover.*
- ServerAlias autoconfig.*
- RewriteEngine on
- RewriteCond %{HTTPS} off
- RewriteRule ^/?(.*) https://%{HTTP_HOST}/$1 [R=301,L]
- ProxyPass / http://127.0.0.1:8080/
- ProxyPassReverse / http://127.0.0.1:8080/
- ProxyPreserveHost On
- ProxyAddHeaders On
- RequestHeader set X-Forwarded-Proto "http"
- </VirtualHost>
- <VirtualHost *:443>
- ServerName webmail.deko.yt
- ServerAlias autodiscover.*
- ServerAlias autoconfig.*
- # You should proxy to a plain HTTP session to offload SSL processing
- ProxyPass /Microsoft-Server-ActiveSync http://127.0.0.1:8080/Microsoft-Server-ActiveSync connectiontimeout=4000
- ProxyPassReverse /Microsoft-Server-ActiveSync http://127.0.0.1:8080/Microsoft-Server-ActiveSync
- ProxyPass / http://127.0.0.1:8080/
- ProxyPassReverse / http://127.0.0.1:8080/
- ProxyPreserveHost On
- ProxyAddHeaders On
- RequestHeader set X-Forwarded-Proto "https"
- SSLCertificateFile /etc/letsencrypt/live/deko.yt/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/deko.yt/privkey.pem
- # Wenn Sie einen HTTPS-Host als Proxy verwenden möchten:
- #SSLProxyEngine On
- # Wenn Sie einen Proxy für einen nicht vertrauenswürdigen HTTPS-Host einrichten wollen:
- #SSLProxyVerify none
- #SSLProxyCheckPeerCN off
- #SSLProxyCheckPeerName off
- #SSLProxyCheckPeerExpire off
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement