example-config.toml (1159B) - raw
1 # Used in HTML templates and titles 2 SiteTitle="demoflounder" 3 4 # Port to run server on 5 HttpPort=8165 6 7 # Include port if running locally 8 Host="flounder.local:8165" 9 # Running through reverse proxy 10 # Host="flounder.local" 11 12 # Folder containing subfolders for each user's files 13 FilesDirectory="./files" 14 LogFile="./flounder.log" 15 16 # Gemini autogenerates self-signed certs 17 GeminiCertStore="/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 26 EnableSFTP=true 27 HostKeyPath="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 / 31 TemplatesDirectory="./templates" 32 DBFile="./flounder.db" 33 34 MaxFileBytes=128000 # 128 KB 35 MaxUserBytes=10000000 # 10 MB 36 MaxFilesPerUser=1024 37 38 # .plan is a hack 39 OkExtensions=[".plan", ".gmi", ".txt", ".jpg", ".jpeg", ".gif", ".png", ".svg", ".webp", ".midi", ".json", ".csv", ".gemini", ".mp3", ".css", ".ttf", ".otf", ".woff", ".woff2", ""]