all repos — flounder @ aab409b8e765ec76e2ac91194a57f3734d81b1fe

A small site builder for the Gemini protocol

example-config.toml (view raw)

 1# Used in HTML templates and titles
 2SiteTitle="🐟flounder"
 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
 9HttpsEnabled=false
10
11# Folder containing subfolders for each user's files
12FilesDirectory="./files"
13LogFile="./flounder.log"
14
15# A wildcard TLS cert
16TLSCertFile="./server.crt"
17TLSKeyFile="./server.key"
18
19# Templates and static files
20# Everything in the static subfolder will be served at /
21TemplatesDirectory="./templates"
22DBFile="./flounder.db"
23
24MaxFileSize=128000 # 128 KB
25OkExtensions=["", ".gmi", ".txt", ".jpg", ".jpeg", ".gif", ".png", ".svg", ".webp", ".midi", ".json", ".csv", ".gemini", ".mp3", ".css", ".ttf", ".otf", ".woff", ".woff2"]
26