all repos — flounder @ 28a9a4a408c7eaa482ea32e27e80c6e87eb67d62

A small site builder for the Gemini protocol

example-config.toml (view raw)

 1# Used in HTML templates and titles
 2SiteTitle="demoflounder"
 3
 4# Port to run server on
 5HttpPort=8165
 6
 7# Include port if running locally
 8Host="flounder.local:8165"
 9# Running through reverse proxy
10# Host="flounder.local" 
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
31MaxFilesPerUser=1024
32
33OkExtensions=[".gmi", ".txt", ".jpg", ".jpeg", ".gif", ".png", ".svg", ".webp", ".midi", ".json", ".csv", ".gemini", ".mp3", ".css", ".ttf", ".otf", ".woff", ".woff2", ""]