all repos — flounder @ ea5e67c4e14bd7fc12d4a64118252a2dbc3a1abb

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
27HostKeyPath="id_rsa" # will be generated for you. Pub key at x.pub
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
36MaxFilesPerUser=1024
37
38OkExtensions=[".gmi", ".txt", ".jpg", ".jpeg", ".gif", ".png", ".svg", ".webp", ".midi", ".json", ".csv", ".gemini", ".mp3", ".css", ".ttf", ".otf", ".woff", ".woff2", ""]