X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=sites-available%2Fmit-proxy.conf;h=7babd55198662df5320bdb57f06e1e0091fea685;hb=0937ce6e8370a6c93af71098bf4a360ab6824944;hp=3319b0bfa4a191583583cd89e44577598624d611;hpb=59d28c7b929f16e63eedf8ead0a63782069f3ac9;p=sysconfig%2Fapache2.git
diff --git a/sites-available/mit-proxy.conf b/sites-available/mit-proxy.conf
index 3319b0b..7babd55 100644
--- a/sites-available/mit-proxy.conf
+++ b/sites-available/mit-proxy.conf
@@ -6,8 +6,8 @@
#
# ServerName squaresdb.dehnerts.com
-# ProxyPass "/" "http://squaresdb.lushan-vms.dehnerts.com/"
-# ProxyPassReverse "/" "http://squaresdb.lushan-vms.dehnerts.com/"
+# ProxyPass "/" "http://squaresdb.augsburg.vms.dehnerts.com/"
+# ProxyPassReverse "/" "http://squaresdb.augsburg.vms.dehnerts.com/"
#
@@ -18,43 +18,50 @@
SSLProxyVerifyDepth 2
SSLProxyCACertificatePath /etc/ssl/certs
SSLProxyCheckPeerName on
- ProxyPass "/" "https://squaresdb.lushan-vms.dehnerts.com/"
- ProxyPassReverse "/" "https://squaresdb.lushan-vms.dehnerts.com/"
+ ProxyPass "/" "https://squaresdb.augsburg.vms.dehnerts.com/"
+ ProxyPassReverse "/" "https://squaresdb.augsburg.vms.dehnerts.com/"
ProxyPreserveHost on
Include sites-common/ssl-common
- SSLCertificateFile /etc/letsencrypt/live/squaresdb.dehnerts.com/fullchain.pem
- SSLCertificateChainFile /etc/letsencrypt/live/squaresdb.dehnerts.com/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/squaresdb.dehnerts.com/privkey.pem
+
+ SSLCertificateFile /etc/letsencrypt/live/squaresdb.dehnerts.com/fullchain.pem
+ SSLCertificateChainFile /etc/letsencrypt/live/squaresdb.dehnerts.com/fullchain.pem
+ SSLCertificateKeyFile /etc/letsencrypt/live/squaresdb.dehnerts.com/privkey.pem
+
+
+ #Warning "correct default cert not detected, falling back to snakeoil"
+ SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
+ SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
+
ServerName zulip.dehnerts.com
ServerAlias *.zulip.dehnerts.com
- ProxyPassReverse "/" "http://zulip.lushan-vms.dehnerts.com/"
+ ProxyPassReverse "/" "http://zulip.augsburg.vms.dehnerts.com/"
ProxyPreserveHost on
DocumentRoot /var/www/letsencrypt-verify/
RewriteEngine on
RewriteCond /var/www/letsencrypt-verify/%{REQUEST_URI} !-f
- RewriteRule ^/.well-known/acme-challenge/(.*)$ http://zulip.lushan-vms.dehnerts.com/.well-known/acme-challenge/$1 [P,QSA,L]
+ RewriteRule ^/.well-known/acme-challenge/(.*)$ http://zulip.augsburg.vms.dehnerts.com/.well-known/acme-challenge/$1 [P,QSA,L]
-
-
- ServerName zulip.dehnerts.com
- ServerAlias *.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
-
-
+#
+#
+# ServerName zulip.dehnerts.com
+# ServerAlias *.zulip.dehnerts.com
+# SSLProxyEngine on
+# SSLProxyVerify require
+# SSLProxyVerifyDepth 2
+# SSLProxyCACertificatePath /etc/ssl/certs
+# SSLProxyCheckPeerName on
+# ProxyPass "/" "https://zulip.augsburg.vms.dehnerts.com/"
+# ProxyPassReverse "/" "https://zulip.augsburg.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
+#
+#