From: Alex Dehnert Date: Fri, 9 Jul 2021 00:01:39 +0000 (-0400) Subject: Update SquaresDB proxying X-Git-Url: https://dehnerts.com/gitweb/?a=commitdiff_plain;h=4991f62736b41100f51ec24844e539aeb52eb1b7;hp=99163268c395189fd10155b99dbbab31c59e730f;p=sysconfig%2Fapache2.git Update SquaresDB proxying --- diff --git a/sites-available/mit-proxy.conf b/sites-available/mit-proxy.conf index c9c17cb..b6cd081 100644 --- a/sites-available/mit-proxy.conf +++ b/sites-available/mit-proxy.conf @@ -4,9 +4,25 @@ ProxyPassReverse "/" "http://adehnert-test-b.mit.edu/" - +# +# ServerName squaresdb.dehnerts.com +# ProxyPass "/" "http://squaresdb.lushan-vms.dehnerts.com/" +# ProxyPassReverse "/" "http://squaresdb.lushan-vms.dehnerts.com/" +# + + + ServerName squaresdb.dehnerts.com - ProxyPass "/" "http://adehnert-test-a.mit.edu/" - ProxyPassReverse "/" "http://adehnert-test-a.mit.edu/" + SSLProxyEngine on + # Really I want to validate that the name matches squaresdb.dehnerts.com, + # but apparently that's not a thing, AFAICT. + SSLProxyCheckPeerName off + ProxyPass "/" "https://squaresdb.lushan-vms.dehnerts.com/" + ProxyPassReverse "/" "https://squaresdb.lushan-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 - +