瀏覽代碼

fixed branch for commento wildcard domains

Thomas Buck 2 年之前
父節點
當前提交
4000f47560
共有 2 個檔案被更改,包括 4 行新增3 行删除
  1. 2
    2
      roles/blog/defaults/main.yml
  2. 2
    1
      roles/blog/templates/etc_systemd_system_commento.j2

+ 2
- 2
roles/blog/defaults/main.yml 查看文件

@@ -12,8 +12,8 @@ fathom_subdomain: 'stats'
12 12
 fathom_internal_port: '9000'
13 13
 fathom_secret: "{{ lookup('password', secret + '/' + 'fathom_secret length=32') }}"
14 14
 
15
-commento_version: '1.8.6'
16
-commento_release: "https://github.com/souramoo/commentoplusplus/releases/download/v{{ commento_version }}/release_{{ commento_version }}.tar.gz"
15
+commento_version: '1.8.7-wildcard-fix'
16
+commento_release: "https://github.com/xythobuz/commentoplusplus/releases/download/v{{ commento_version }}/release.tar.gz"
17 17
 
18 18
 commento_subdomain: 'comments'
19 19
 commento_internal_port: '9100'

+ 2
- 1
roles/blog/templates/etc_systemd_system_commento.j2 查看文件

@@ -20,7 +20,8 @@ Environment=COMMENTO_SMTP_PORT=587
20 20
 Environment=COMMENTO_SMTP_USERNAME=noreply@{{ domain }}
21 21
 Environment=COMMENTO_SMTP_PASSWORD={{ lookup('password', secret + '/' + 'mail_noreply_password length=20 chars=ascii_lowercase,ascii_uppercase,digits') }}
22 22
 Environment=COMMENTO_SMTP_FROM_ADDRESS=noreply@{{ domain }}
23
-Environment=COMMENTO_FORBID_NEW_OWNERS=false
23
+Environment=COMMENTO_FORBID_NEW_OWNERS=true
24
+Environment=COMMENTO_ENABLE_LOGGING=false
24 25
 
25 26
 [Install]
26 27
 WantedBy=multi-user.target

Loading…
取消
儲存