all repos — flounder @ 18a042de0538b53ca8cf949b0b575d1d597bf92a

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
 9HttpsEnabled=false
10
11# Folder containing subfolders for each user's files
12# Must be absolute path due to bug
13FilesDirectory="/home/alex/dev/go-flounder/files"
14LogFile="./flounder.log"
15
16# Gemini autogenerates self-signed certs
17GeminiCertStore="/tmp"
18
19# A wildcard TLS cert for HTTPS.
20# Only required if HttpsEnabled=true
21# TLSCertFile="./server.crt"
22# TLSKeyFile="./server.key"
23
24# Optional SMTP -- to send notification emails to users on acct activation
25# SMTPServer = mail.goodsite.com:587
26# SMTPUsername = myemail@coolplace.com
27# SMTPPassword = hunter2
28
29# Templates and static files
30# Everything in the static subfolder will be served at /
31TemplatesDirectory="./templates"
32DBFile="./flounder.db"
33
34MaxFileBytes=128000 # 128 KB
35MaxUserBytes=10000000 # 10 MB
36
37OkExtensions=[".gmi", ".txt", ".jpg", ".jpeg", ".gif", ".png", ".svg", ".webp", ".midi", ".json", ".csv", ".gemini", ".mp3", ".css", ".ttf", ".otf", ".woff", ".woff2"]
38