Backup tutorials: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „== Apache == Zurück zu Backups erstellen“)
 
Zeile 1: Zeile 1:
== Apache ==
== Apache ==


<pre>
cd /etc/apache2/sites-available/
sudo nano tutorials.conf
</pre>
<pre>
<VirtualHost *:80>
        ServerName tutorials.kirner.or.at
        ServerAlias tutorials.kirner.or.at
        Redirect / https://tutorials.kirner.or.at
</VirtualHost>
</pre>
<pre>
sudo nano tutorials-ssl.conf
</pre>
<pre>
<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>
</pre>




Zurück zu [[Backups erstellen]]
Zurück zu [[Backups erstellen]]

Version vom 2. Juli 2016, 13:28 Uhr

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