The following steps are necessary to redirect HTTP connections to HTTPS for virtual host.
Create the following file (as root user):
The following steps are necessary to redirect HTTP connections to HTTPS for virtual host.
Create the following file (as root user):
/etc/apache2/sites-available/fluid
Add the following lines:
<VirtualHost *:80>
ServerName fluid-itg02
Redirect / https://fluid-itg02/
</VirtualHost>
Activate the configuration by running the following command (as root user):
sudo a2ensite fluid sudo systemctl reload apache2