Difference between revisions of "NextCloud"

From belajarwiki
Jump to navigation Jump to search
 
Line 16: Line 16:
 
Menggunakan Self-Signed
 
Menggunakan Self-Signed
 
  sudo nextcloud.enable-https self-signed
 
  sudo nextcloud.enable-https self-signed
 +
sudo ufw allow 80,443/tcp
 +
 +
Atau bisa menggunakan Let's Encrypt
 +
sudo nextcloud.enable-https lets-encrypt
 
  sudo ufw allow 80,443/tcp
 
  sudo ufw allow 80,443/tcp
  

Latest revision as of 08:48, 2 December 2021

Instalasi

sudo snap install nextcloud

Set username password

sudo nextcloud.manual-install admin 123456

Set trusted domain

Cek

sudo nextcloud.occ config:system:get trusted_domains

Jika perlu tambahkan

sudo nextcloud.occ config:system:set trusted_domains 1 --value=example.com
sudo nextcloud.occ config:system:set trusted_domains 1 --value=192.168.1.*

SSL

Menggunakan Self-Signed

sudo nextcloud.enable-https self-signed
sudo ufw allow 80,443/tcp

Atau bisa menggunakan Let's Encrypt

sudo nextcloud.enable-https lets-encrypt
sudo ufw allow 80,443/tcp

Referensi