all repos — flounder @ b03bd3850661f83aa561d483e26b22990003a48a

A small site builder for the Gemini protocol

example-config.toml (view raw)

 1# Used in HTML templates and titles
 2SiteTitle="demoflounder"
 3
 4# Include port if running locally
 5Host="localhost:8165"
 6
 7# Set this depending on whether you want to run this service standalone or through a reverse proxy server
 8HttpPort=8165
 9
10# Folder containing subfolders for each user's files
11FilesDirectory="./files"
12LogFile="./flounder.log"
13
14# Gemini autogenerates self-signed certs
15GeminiCertStore="/tmp"
16
17# A wildcard TLS cert for HTTPS.
18# Only required if HttpsEnabled=true
19# TLSCertFile="./server.crt"
20# TLSKeyFile="./server.key"
21
22# Optional SMTP -- to send notification emails to users on acct activation
23# SMTPServer = mail.goodsite.com:587
24# SMTPUsername = myemail@coolplace.com
25# SMTPPassword = hunter2
26
27# Templates and static files
28# Everything in the static subfolder will be served at /
29TemplatesDirectory="./templates"
30DBFile="./flounder.db"
31
32MaxFileBytes=128000 # 128 KB
33MaxUserBytes=10000000 # 10 MB
34
35OkExtensions=[".gmi", ".txt", ".jpg", ".jpeg", ".gif", ".png", ".svg", ".webp", ".midi", ".json", ".csv", ".gemini", ".mp3", ".css", ".ttf", ".otf", ".woff", ".woff2"]
36