all repos — flounder @ deb0c5ae2a24efdbaa79345b0fbddfd3ad74e972

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# Whether to enable user SFTP access 
25# experimental feature, enable at your own risk
26EnableSFTP=true
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
35MaxFilesPerUser=1024
36
37OkExtensions=[".gmi", ".txt", ".jpg", ".jpeg", ".gif", ".png", ".svg", ".webp", ".midi", ".json", ".csv", ".gemini", ".mp3", ".css", ".ttf", ".otf", ".woff", ".woff2", ""]