﻿<IfModule mod_ssl.c>
           <VirtualHost *:443>
          ServerAdmin antonyodu@gmail.com
          ServerName lms.payraty.net
          DocumentRoot /var/www/payraty/lms_dev/public
       ErrorLog ${APACHE_LOG_DIR}/error.log
          CustomLog ${APACHE_LOG_DIR}/access.log combined

          <Directory /var/www/payraty/lms_dev>
              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} =lms.payraty.com
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

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