<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/html/public
        <Directory />
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Require all granted
        </Directory>

        <Directory "/var/www/html">
                AllowOverride All
                Require all granted
        </Directory>

        Alias /phpmyadmin /var/www/phpmyadmin
        <Directory /var/www/phpmyadmin>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Require all granted
        </Directory>

        Alias /adminer /var/www/adminer
        <Directory /var/www/adminer>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Require all granted
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log

        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/access.log combined

        SetEnvIf x-forwarded-proto https HTTPS=on

</VirtualHost>
