Backup heliblog: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
 
Zeile 22: Zeile 22:


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



Aktuelle Version vom 3. Juli 2016, 09:14 Uhr

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