summaryrefslogtreecommitdiff
path: root/debian/example.cfg
blob: 473dd4800b636eba5a78d54b51f2c28f0d0676ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[general]

name = your_site_name

; database location, check permissions, automatically created if not exists
dbpath = /var/lib/isso/your_site_name.db

; your website URL (not the location the Isso webservice)
host = http://example.tld/

; you can add multiple URLs for the same site
;host =
;    http://localhost:1234/
;    https://example.tld/


;To moderate comments, either use the activation or deletion URL in the logs
;or use SMTP to get notified on new comments including the URLs
;for activation and deletion:

;notify = smtp


[moderation]

;Moderation is done with signed URLs sent by email or logged to stdout.
;By default, comments are accepted and immediately shown to other users.
;To enable the moderation queue, add:
;enabled = true


[smtp]

; SMTP settings

; username and password, optional
;username =
;password =

; SMTP server
;host = localhost

; SMTP port
;port = 587

; SMTP security model: none, starttls or ssl
;security = starttls

; recipient address (site administrator)
;to =

; sender address
;from =

; SMTP connection timeout in seconds
;timeout = 10


[guard]

; Enable basic spam protection features, e.g. rate-limit per IP address
; (/24 for IPv4, /48 for IPv6).

enabled = true

; Rate-limit the number of comments per minute
ratelimit = 2

; Limit the number of comments per thread per user
direct-reply = 3

; Allow commenters to reply immediately to their own comments
;reply-to-self = false


[markup]

; Customize markup and sanitized HTML

; Misaka-specific Markdown extensions, all flags starting with EXT_ can
; be used there, separated by comma.
;options = strikethrough, superscript, autolink

; Additional HTML tags to allow in the generated output, comma-separated.
; By default, only a, blockquote, br, code, del, em, h1, h2, h3, h4, h5, h6,
; hr, ins, li, ol, p, pre, strong, table, tbody, td, th, thead and ul
; are allowed.
;allowed-elements =

; Additional HTML attributes (independent from elements) to allow in the
; generated output, comma-separated. By default, only align and href are
; allowed.
;allowed-attributes =