all repos — flounder @ 68ebfc7e91bc37a6af19fa20729280624a9fb50d

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="./"
17
18# A wildcard TLS cert for HTTPS.
19TLSCertFile="./server.crt"
20TLSKeyFile="./server.key"
21
22# Templates and static files
23# Everything in the static subfolder will be served at /
24TemplatesDirectory="./templates"
25DBFile="./flounder.db"
26
27MaxFileSize=128000 # 128 KB
28OkExtensions=[".gmi", ".txt", ".jpg", ".jpeg", ".gif", ".png", ".svg", ".webp", ".midi", ".json", ".csv", ".gemini", ".mp3", ".css", ".ttf", ".otf", ".woff", ".woff2"]
29