X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=sites-available%2Fmit-proxy.conf;h=b3d06f6e24c184f617e01894426f40001cddd1cb;hb=9aa0f02267fd65d712ba8b7bbfafd600a1ba68af;hp=c9c17cb4ddaf6e3614a72f2eb65de53eb667bac7;hpb=0e1e335755ad313baa26aae3db79a691d047a566;p=sysconfig%2Fapache2.git diff --git a/sites-available/mit-proxy.conf b/sites-available/mit-proxy.conf index c9c17cb..b3d06f6 100644 --- a/sites-available/mit-proxy.conf +++ b/sites-available/mit-proxy.conf @@ -4,9 +4,28 @@ 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 + SSLProxyVerify require + SSLProxyVerifyDepth 2 + SSLProxyCACertificatePath /etc/ssl/certs + # 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 - +