example-config.toml (view raw)
1# Used in HTML templates and titles
2SiteTitle="demoflounder"
3
4# Include port if running locally
5Host="flounder.local:8165"
6# Running through reverse proxy
7# Host="flounder.local"
8
9# Port to run on
10HttpPort=8165
11
12# Folder containing subfolders for each user's files
13FilesDirectory="./files"
14LogFile="./flounder.log"
15
16# Gemini autogenerates self-signed certs
17GeminiCertStore="/tmp"
18
19# Optional SMTP -- to send notification emails to users on acct activation
20# SMTPServer = mail.goodsite.com:587
21# SMTPUsername = myemail@coolplace.com
22# SMTPPassword = hunter2
23
24# Templates and static files
25# Everything in the static subfolder will be served at /
26TemplatesDirectory="./templates"
27DBFile="./flounder.db"
28
29MaxFileBytes=128000 # 128 KB
30MaxUserBytes=10000000 # 10 MB
31
32OkExtensions=[".gmi", ".txt", ".jpg", ".jpeg", ".gif", ".png", ".svg", ".webp", ".midi", ".json", ".csv", ".gemini", ".mp3", ".css", ".ttf", ".otf", ".woff", ".woff2"]
33