File: //etc/apache2/sites-enabled/pwa.sports-crowd.com.conf
# BikeNow - ALQ-cali
<VirtualHost *:80>
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
RewriteCond %{SERVER_NAME} =pwa.sports-crowd.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>