File: //etc/apache2/sites-available/gestion-formularios.bdfschool.conf
<VirtualHost *:80>
ServerName gestion-formularios.bdfschool.cl
DocumentRoot /var/www/gestion-formularios.bdfschool
<Directory /var/www/gestion-formularios.bdfschool>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/gestion-formularios_error.log
CustomLog ${APACHE_LOG_DIR}/gestion-formularios_access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName gestion-formularios.bdfschool.cl
DocumentRoot /var/www/gestion-formularios.bdfschool
<Directory /var/www/gestion-formularios.bdfschool>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
SSLEngine on
SSLCertificateFile /etc/ssl/bdfschool/bdfschool_cl.crt
SSLCertificateKeyFile /etc/ssl/bdfschool/bdfschool.cl.key
SSLCertificateChainFile /etc/ssl/bdfschool/bdfschool_cl.ca-bundle
ErrorLog ${APACHE_LOG_DIR}/gestion-formularios_ssl_error.log
CustomLog ${APACHE_LOG_DIR}/gestion-formularios_ssl_access.log combined
</VirtualHost>