centos apache configuration for wordpress with ssl

centos apache configuration for wordpress with ssl

<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /var/www/example.com/
ServerName www.example.com
ServerAlias example.com
ScriptAlias /cgi-bin/ /var/www/example.com/cgi-bin
<Directory /var/www/example.com>
        Options FollowSymLinks
        AllowOverride All
        Require all granted
</Directory>
</VirtualHost>

<VirtualHost *:443>
SSLEngine On
SSLCertificateFile /var/www/.certificates/example.com.crt 
SSLCertificateKeyFile /var/www/.certificates/example.com.key
SSLCertificateChainFile /var/www/.certificates/gd_bundle-g2-g1.crt
ServerAdmin admin@example.com
DocumentRoot /var/www/example.com/ 
ServerName www.example.com
ServerAlias example.com
ScriptAlias /cgi-bin/ /var/www/example.com/cgi-bin/
<Directory /var/www/example.com>
        Options FollowSymLinks
        AllowOverride All
        Require all granted
</Directory>
</VirtualHost>