Backup tutorials

Aus Tutorials
Zur Navigation springen Zur Suche springen

Apache

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

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

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

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


Zurück zu Backups erstellen