forked from Ninja3047/sr.ht
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.ini.example
More file actions
45 lines (36 loc) · 1.13 KB
/
config.ini.example
File metadata and controls
45 lines (36 loc) · 1.13 KB
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
[meta]
# enviornment=prod for deployed instances
environment=dev
[dev]
# Change this to the actual location of your site
protocol=http
domain=localhost:5000
# Change this value to something random and secret
secret-key=hello world
# On the debug server, this lets you choose what to bind to
debug-host=0.0.0.0
debug-port=5000
# To send emails, fill out these details
smtp-host=
smtp-port=
smtp-user=
smtp-password=
# Exceptions are emailed here
error-to=
error-from=
# Where to store uploads (absolute path)
storage=/home/sircmpwn/sources/sr.ht/storage/
# Site ownership information for support and such
owner=Your name
owner_email=your@email.com
# SQL connection string
connection-string=postgresql://postgres@localhost/sr.ht
# This is NOT enforced - it's just for the UI
# You need to set client_max_body_size 50M; or similar in your nginx.conf
max-upload=50 MB
# Set to 'yes' to add a link to /donate on the home page (for members)
# You should probably add an override template for it
donation-page=no
# Set to 'yes' to add a link to /resources on the home page (for members)
# Usually only relevant for members of sr.ht upstream
resources-page=no