Backup garfield

Aus Tutorials
Zur Navigation springen Zur Suche springen

Apache

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

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

        # Pfad zu den Webinhalten
        DocumentRoot /var/www/garfield

        ErrorLog ${APACHE_LOG_DIR}/garfield.kirner.or.at-error.log
        CustomLog ${APACHE_LOG_DIR}/garfield.kirner.or.at-access.log combined
</VirtualHost>


Zurück zu Backups erstellen