Configure SSL Certificate for Nextcloud on Raspberry pi

preview_player
Показать описание
Shows on how to configure a secure certificate on next cloud.
Directory to store the SSL certificate:
---------------------------------------
sudo mkdir -p /etc/apache2/ssl

Generate the certificate:
-------------------------

Enable SSL Module for Apache:
----------------------------
sudo a2enmod ssl

Modify the configuration file:
------------------------------

Change to
----------------------

Enable default SSL and restart apache
--------------------------------------
sudo service apache2 restart

Force SSL usage on NextCloud:
----------------------------------------------------

VirtualHost *:80

RewriteEngine On
RewriteCond %{HTTPS} off
/VirtualHost

sudo a2enmod rewrite
sudo service apache2 restart

Рекомендации по теме
Комментарии
Автор

thx you, i followed the steps and now when i type the ip of my Pi i see the apache default installation page, damn

minexploit