File: //etc/apache2/sites-enabled/pwa.sports-crowd.com-le-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAlias pwa.sports-crowd.com
DocumentRoot /var/www/vhost/disk-apps/pwa.sports-crowd.com/www
<Directory /var/www/vhost/disk-apps/pwa.sports-crowd.com>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
<IfModule mod_rewrite.c>
Options Indexes FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.html [L]
</IfModule>
</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} =pwa.sports-crowd.com
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
SSLCertificateFile /etc/letsencrypt/live/pwa.sports-crowd.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/pwa.sports-crowd.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>