浏览代码

Enable SSL on nextcloud snap

DricomDragon 4 年之前
父节点
当前提交
32902ffaaf
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      Guides/nextcloud.md

+ 6 - 0
Guides/nextcloud.md

@@ -54,10 +54,16 @@ No need to restart system, config is taken into account at web page reload.
 
 ## Enforce security
 
+### On proxy
+
 Follow [official instructions on Nextcloud doc](https://docs.nextcloud.com/server/latest/admin_manual/installation/harden_server.html)
 
 To enable *mod_headers* on HTTPD : `a2enmod headers`
 
+### On snap installation
+
+`sudo nextcloud.enable-https lets-encrypt`
+
 ## Other fixes
 
 As an admin, go to _Overview_ in the _Administration_ panel from _Settings_. Nexctloud will scan your instance and give you instructions.