all repos — flounder @ fe128dfe1438dd8da1e03851f6b77a938665d7ea

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# 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# Templates and static files
24# Everything in the static subfolder will be served at /
25TemplatesDirectory="./templates"
26DBFile="./flounder.db"
27
28MaxFileSize=128000 # 128 KB
29OkExtensions=[".gmi", ".txt", ".jpg", ".jpeg", ".gif", ".png", ".svg", ".webp", ".midi", ".json", ".csv", ".gemini", ".mp3", ".css", ".ttf", ".otf", ".woff", ".woff2"]
30