<VirtualHost *:80>
    DocumentRoot /var/www/html
#    ServerName {{ ansible_hostname }}

    ErrorLog ${APACHE_LOG_DIR}/webtech_error.log
    CustomLog ${APACHE_LOG_DIR}/webtech_access.log combined

    Alias /phpmyadmin /var/www/phpMyAdmin
</VirtualHost>

<VirtualHost *:443>
    DocumentRoot /var/www/html
    ServerName {{ domain_name }}
    ServerAlias webtech-{{ domain_name }}

    SSLCertificateFile /etc/ssl/cert.pem
    SSLCertificateKeyFile /etc/ssl/privkey.pem
    SSLCertificateChainFile /etc/ssl/fullchain.pem

    Alias /phpmyadmin /var/www/phpMyAdmin
</VirtualHost>
