<VirtualHost *:443>
        ServerName qa-elite.corenroll.com
        ServerAlias qa-elite.corenroll.com
        ServerAdmin admin@corenroll.com

        SSLEngine on
        SSLCertificateKeyFile /opt/corenroll_certs/corenroll.key
        SSLCertificateFile /opt/corenroll_certs/_.corenroll.com/f78cbe9009c22c37.crt
        SSLCertificateChainFile /opt/corenroll_certs/_.corenroll.com/gd_bundle-g2-g1.crt

        DocumentRoot /var/www/enrollment-sites-ui/elite-ui/dist/
        <Directory /var/www/enrollment-sites-ui/elite-ui/dist/>
                AllowOverride All
                allow from all
                Options +Indexes
        </Directory>
        ErrorLog ${APACHE_LOG_DIR}/elite-ui-error.log
        CustomLog ${APACHE_LOG_DIR}/elite-ui-access.log combined
</VirtualHost>

<VirtualHost *:80>
    ServerName qa-elite.corenroll.com
    ServerAlias qa-elite.corenroll.com
    Redirect permanent "/" "https://qa-elite.corenroll.com/"
</VirtualHost>