﻿<IfModule mod_ssl.c>
           <VirtualHost *:443>
          ServerAdmin kelechi.webdev@gmail.com
          ServerName helpdesk.payraty.com
          DocumentRoot /var/www/payraty/helpdesk/public

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

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


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