|
|
@ -14,8 +14,8 @@ RUN set -eux; \ |
|
|
|
# these IP ranges are reserved for "private" use and should thus *usually* be safe inside Docker |
|
|
|
# these IP ranges are reserved for "private" use and should thus *usually* be safe inside Docker |
|
|
|
echo 'ServerName equilibrateit.com:443'; \ |
|
|
|
echo 'ServerName equilibrateit.com:443'; \ |
|
|
|
echo 'SSLEngine on'; \ |
|
|
|
echo 'SSLEngine on'; \ |
|
|
|
echo 'SSLCertificateKeyFile /etc/ssl/certs/privkey.pem'; \ |
|
|
|
echo 'SSLCertificateKeyFile /etc/ssl/private/privkey.pem'; \ |
|
|
|
echo 'SSLCertificateFile /etc/ssl/private/fullchain.pem'; \ |
|
|
|
echo 'SSLCertificateFile /etc/ssl/certs/fullchain.pem'; \ |
|
|
|
echo '</VirtualHost>'; \ |
|
|
|
echo '</VirtualHost>'; \ |
|
|
|
} > /etc/apache2/sites-available/equilibrateit.com-ssl.conf; \ |
|
|
|
} > /etc/apache2/sites-available/equilibrateit.com-ssl.conf; \ |
|
|
|
ln -s /etc/apache2/sites-available/equilibrateit.com-ssl.conf /etc/apache2/sites-enabled/equilibrateit.com-ssl.conf; \ |
|
|
|
ln -s /etc/apache2/sites-available/equilibrateit.com-ssl.conf /etc/apache2/sites-enabled/equilibrateit.com-ssl.conf; \ |
|
|
|