Baikal - Installation (Linux)

Aus Tutorials
Zur Navigation springen Zur Suche springen

Noch in Bearbeitung

Konfiguration

Sites

cd /etc/apache2/sites-available
sudo nano baikal.conf
<VirtualHost *:80>
        ServerName baikal.kirner.or.at
        Redirect / https://baikal.kirner.or.at/
</VirtualHost>
sudo nano baikal-ssl.conf
<VirtualHost *:443>
        ServerName baikal.kirner.or.at

        SSLEngine on
        SSLCertificateFile /etc/ssl/certs/baikal.crt
        SSLCertificateKeyFile /etc/ssl/private/apache.key

        # Pfad zu den Webinhalten
        DocumentRoot /var/www/baikal/html

        ErrorLog ${APACHE_LOG_DIR}/baikal.kirner.or.at-error.log
        CustomLog ${APACHE_LOG_DIR}/baikal.kirner.or.at-access.log combined
</VirtualHost>
sudo a2ensite baikal
sudo a2ensite baikal-ssl
sudo service apache2 reload


Zurück zu Ubuntu