Backup heliblog

Aus Tutorials
Zur Navigation springen Zur Suche springen

Apache

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

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

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

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


Zurück zu Backups erstellen