-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdefault.conf
53 lines (46 loc) · 1.51 KB
/
default.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 = 0
host = 127.0.0.1
port = 8080
; URL prefix.
basename = /
; App information to display in the public site.
title = Librechan
contact = librechan@email.com
welcome_message = Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus lacinia finibus malesuada. Integer in urna eu velit tristique ornare in nec urna. Nam rhoncus justo arcu, id condimentum tortor gravida ac.
[threads]
; Max active threads, the threads outside this range will be deleted.
max_active = 80
; 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 = 5
[admin]
; This key will be used to authenticate and for admin sessions to be persistent.
token = yoursecretpreferablylongrandomkey
; Admin password.
password = yourpassword
[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 = root
password = pass
;; vim: set ft=dosini: