﻿<IfModule mod_ssl.c>
<VirtualHost *:443>
    ServerAdmin antonyodu@gmail.com
    ServerName ratemypay.com
    ServerAlias www.ratemypay.com
    DocumentRoot /var/www/ratemypay/public

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    <Directory /var/www/ratemypay/public>
        Require all granted
        AllowOverride All
        Options Indexes Multiviews FollowSymLinks
    </Directory>

    RewriteEngine on
# Some rewrite rules in this file were disabled on your HTTPS site,
# because they have the potential to create redirection loops.

#     RewriteCond %{SERVER_NAME} =ratemypay.net [OR]
#     RewriteCond %{SERVER_NAME} =www.ratemypay.net
#     RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/ratemypay.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/ratemypay.com/privkey.pem
</VirtualHost>
</IfModul