~dricottone/huttese

ref: fe46d748b6290411d1878311cda721400459fe4a huttese/sr/etc/sr.ht/lists.config.ini -rw-r--r-- 1.0 KiB
fe46d748Dominic Ricottone Fixes to configuration 2 years ago
                                                                                
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
[lists.sr.ht]
origin=http://localhost:5006
# try: meta.localhost/oauth
oauth-client-id=
oauth-client-secret=
api-origin=http://localhost:5106
posting-domain=lists.tatooine
allow-new-lists=no

# debug host
debug-host=0.0.0.0
debug-port=5006

# SQLAlchemy connection string
#connection-string=postgresql://postgres@huttpg:5432/lists.sr.ht
connection-string=postgresql://postgres@huttpg:5432/lists.sr.ht?sslmode=disable
migrate-on-upgrade=yes

# Webhooks connection string
webhooks=redis://huttredis:6379/1

# Celery connection string
redis=redis://huttredis:6379/0

# Trusted upstream SMTP server generating Authentication-Results header fields
msgauth-server=tatooine


[lists.sr.ht::worker]
protocol=lmtp
sock=/tmp/lists.sr.ht-lmtp.sock
sock-group=postfix

# Content types to reject?
reject-mimetypes=text/html

# URL for rejection notice?
reject-url=https://man.sr.ht/lists.sr.ht/etiquette.md


[lists.sr.ht::api]
max-complexity=200
max-duration=90s
internal-ipnet=127.0.0.0/8,::1/128,192.168.0.0/16,10.0.0.0/8


[lists.sr.ht::redirects]