File: //etc/apache2/sites-enabled/teamdemo.sports-crowd.com-le-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAlias teamdemo.sports-crowd.com
DocumentRoot /var/www/vhost/disk-apps/teamdemo.sports-crowd.com/public
<Directory /var/www/vhost/disk-apps/teamdemo.sports-crowd.com>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
#<FilesMatch \.php$>
# For Apache version 2.4.10 and above, use SetHandler to run PHP as a fastCGI process server
# SetHandler "proxy:unix:/run/php/php8.0-fpm.sock|fcgi://localhost"
#</FilesMatch>
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} =teamdemo.sports-crowd.com
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
SSLCertificateFile /etc/letsencrypt/live/teamdemo.sports-crowd.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/teamdemo.sports-crowd.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>