https apache angepasst dank Stefan
This commit is contained in:
@@ -175,7 +175,9 @@ Bearbeiten der Datei ````/etc/apache2/sites-available/nextcloud.conf````
|
|||||||
|
|
||||||
````apacheconf
|
````apacheconf
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
Redirect permanent / https://nextcloud.hensel.dom
|
RewriteEngine On
|
||||||
|
RewriteCond %{HTTPS} off
|
||||||
|
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI}
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<IfModule mod_ssl.c>
|
<IfModule mod_ssl.c>
|
||||||
@@ -212,7 +214,6 @@ Bearbeiten der Datei ````/etc/apache2/sites-available/nextcloud.conf````
|
|||||||
Aktivieren:
|
Aktivieren:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo a2ensite default-ssl.conf
|
|
||||||
sudo systemctl restart apache2
|
sudo systemctl restart apache2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user