<IfModule mod_ssl.c>
<VirtualHost *:443>
    ServerName comp.smart-shooter.com
    DocumentRoot /var/www/html/comp

    <Directory /var/www/html/comp>
        Options -Indexes +FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/comp_error.log
    CustomLog ${APACHE_LOG_DIR}/vcomp_access.log combined
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} =comp.smart-shooter.com
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

SSLCertificateFile /etc/letsencrypt/live/comp.smart-shooter.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/comp.smart-shooter.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
