-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimageboard.conf
53 lines (46 loc) · 1.36 KB
/
imageboard.conf
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
[app]
; Use production server. (1 = True | 0 = False)
production = 1
host = 0.0.0.0
port = 8080
; URL prefix.
basename = /
; App information to display in the public site.
title = Pejchan
contact =
welcome_message = Samaya pejna borda.
[threads]
; Max active threads, the threads outside this range will be deleted.
max_active = 40
; Threads to show per page.
per_page = 8
; Limit of characters in posts.
content_max_length = 2000
; Show latest images and messages of boards marked as NSFW in the home page. (True|False)
show_nsfw = False
; Number of latest messages in the home page.
home_messages = 10
; Number of latest images in the home page.
home_images = 10
[reports]
; These are the reasons for which ips might be banned or posts be reported.
; Please note the syntax.
reasons = ["User is underage", "Bad spelling", "Flood/Spam", "CP"]
[uploads]
; This is in megabytes (MB).
upload_max_size = 1
[admin]
; This key will be used to authenticate and for admin sessions to be persistent.
token = yoursecretpreferablylongrandom
; Admin password.
password = WSB4wf44QRyFhos
[database]
name = librechan
; Supported: sqlite, mysql, postgresql
engine = sqlite
; These fields are ony required if you are going to use other engine than sqlite.
host = 127.0.0.1
port = 3306
username = borda
password = pass
;; vim: set ft=dosini: