all repos — flounder @ 733e1efda10eabb94a821981d75c1acaf47ca1da

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