File: //etc/apache2/sites-enabled/portalempleoclpudb.proyectosundanet.com-le-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin sistemas@undanet.com
ServerName portalempleoclpudb.proyectosundanet.com
DocumentRoot /home/undanet/phpmyadmin
<Directory /home/undanet/phpmyadmin>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
#Allow from 83.175.238.186
#Allow from 127.0.0.0/8
php_admin_flag short_open_tag off
Require all granted
</Directory>
TimeOut 300
ErrorLog ${APACHE_LOG_DIR}/portalempleoclpudb-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/portalempleoclpudb-access.log combined
#Header always set Access-Control-Allow-Origin "*"
#Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
#Header always set Access-Control-Max-Age "1000"
#Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token, x-auth-token"
#Header always set X-Content-Type-Options nosniff
SSLCertificateFile /etc/letsencrypt/live/portalempleoclpudb.proyectosundanet.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/portalempleoclpudb.proyectosundanet.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>