File: //etc/apache2/sites-enabled/contigo.bradfordsc.conf
<VirtualHost *:80>
ServerName contigo.bradfordsc.cl
DocumentRoot /var/www/wp_contigo
<Directory /var/www/wp_contigo>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/contigo_error.log
CustomLog ${APACHE_LOG_DIR}/contigo_access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName contigo.bradfordsc.cl
DocumentRoot /var/www/wp_contigo
<Directory /var/www/wp_contigo>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
SSLEngine on
SSLCertificateFile /etc/ssl/bradfordsc/bradfordsc_cl.crt
SSLCertificateKeyFile /etc/ssl/bradfordsc/bradfordsc_cl.key
SSLCertificateChainFile /etc/ssl/bradfordsc/bradfordsc_cl.ca-bundle
ErrorLog ${APACHE_LOG_DIR}/contigo_ssl_error.log
CustomLog ${APACHE_LOG_DIR}/contigo_ssl_access.log combined
</VirtualHost>