<VirtualHost *:80>
    ServerName cyberhex.srv
    DocumentRoot /var/www/html

    #SSLEngine on
    #SSLCertificateFile /etc/apache2/certs/fullchain.pem
    #SSLCertificateKeyFile /etc/apache2/certs/privkey.pem
    #SSLCertificateChainFile /etc/apache2/certs/chain.pem

    <Directory /var/www/html>
        Options FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

<VirtualHost *:443>
    ServerName cyberhex.srv
    DocumentRoot /var/www/html

    SSLEngine on
    SSLCertificateKeyFile /etc/apache2/certs/privkey.pem
    SSLCertificateFile /etc/apache2/certs/fullchain.pem
#    SSLCertificateChainFile /etc/apache2/certs/fullchain.pem

    <Directory /var/www/html>
        Options FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
