X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=sites-available%2Fmit-proxy.conf;fp=sites-available%2Fmit-proxy.conf;h=aefcfae9929634a6ac409fcd7ebe4408d78ee890;hb=c2cf734cf95b69ecca998cfa684df1d6dfbf3928;hp=7da8eb2b5c0324a94b40c8d76602e5265e978e93;hpb=7cc6042d049258fbea44d290a0d922b43f610bf0;p=sysconfig%2Fapache2.git
diff --git a/sites-available/mit-proxy.conf b/sites-available/mit-proxy.conf
index 7da8eb2..aefcfae 100644
--- a/sites-available/mit-proxy.conf
+++ b/sites-available/mit-proxy.conf
@@ -27,3 +27,36 @@
SSLCertificateKeyFile /etc/letsencrypt/live/squaresdb.dehnerts.com/privkey.pem
+
+
+ ServerName zulip.dehnerts.com
+ SSLProxyEngine on
+ SSLProxyVerify require
+ SSLProxyVerifyDepth 2
+ SSLProxyCACertificatePath /etc/ssl/certs
+ SSLProxyCheckPeerName on
+ ProxyPassReverse "/" "https://zulip.lushan-vms.dehnerts.com/"
+ ProxyPreserveHost on
+
+ DocumentRoot /var/www/letsencrypt-verify/
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteRule ^/.well-known/acme-challenge/(.*)$ https://zulip.lushan-vms.dehnerts.com/.well-known/acme-challenge/$1 [P,QSA,L]
+
+
+
+
+ ServerName zulip.dehnerts.com
+ SSLProxyEngine on
+ SSLProxyVerify require
+ SSLProxyVerifyDepth 2
+ SSLProxyCACertificatePath /etc/ssl/certs
+ SSLProxyCheckPeerName on
+ ProxyPass "/" "https://zulip.lushan-vms.dehnerts.com/"
+ ProxyPassReverse "/" "https://zulip.lushan-vms.dehnerts.com/"
+ ProxyPreserveHost on
+ Include sites-common/ssl-common
+ SSLCertificateFile /etc/letsencrypt/live/zulip.dehnerts.com/fullchain.pem
+ SSLCertificateChainFile /etc/letsencrypt/live/zulip.dehnerts.com/fullchain.pem
+ SSLCertificateKeyFile /etc/letsencrypt/live/zulip.dehnerts.com/privkey.pem
+
+