1
0
Fork 0

Provide full coverage of settings in example.conf.

This commit is contained in:
Solderpunk 2020-06-30 17:19:27 +02:00
parent 6c8e11c9ed
commit b0fd07f58a

View file

@ -1,3 +1,5 @@
## Basic settings
#
#Port = 1965 #Port = 1965
#Hostname = "localhost" #Hostname = "localhost"
#CertPath = "cert.pem" #CertPath = "cert.pem"
@ -5,12 +7,48 @@
#DocBase = "/var/gemini/" #DocBase = "/var/gemini/"
#HomeDocBase = "users" #HomeDocBase = "users"
#GeminiExt = "gmi" #GeminiExt = "gmi"
#DefaultLang = "fi"
#AccessLog = "/var/log/molly/access.log" #AccessLog = "/var/log/molly/access.log"
#ErrorLog = "/var/log/molly/error.log" #ErrorLog = "/var/log/molly/error.log"
#CGIPaths = [ "^/var/gemini/cgi-bin/" ] #ReadMollyFiles = true
#
## Directory listing
#
#DirectorySort = "Time"
#DirectoryReverse = true
#DirectoryTitles = true
#
## Dynamic content
#
#CGIPaths = [
# "^/var/gemini/cgi-bin/",
# "^/var/gemini/users/trusted-user/cgi-bin/",
#]
#
#[SCGIPaths] #[SCGIPaths]
#"/scgi/" = "/var/run/scgi.sock" #"/scgi-app-1/" = "/var/run/scgi1.sock"
#"/scgi-app-2/" = "/var/run/scgi2.sock"
#
## MIME type overrides
#
#[MimeOverrides]
#"atom.xml$" = "application/atom+xml"
#"rss.xml$" = "application/rss+xml"
#
## Redirects
#
#[TempRedirects] #[TempRedirects]
#"/old/path/file.ext" = "/new/path/file.ext" #"/old/path/file.ext" = "/new/path/file.ext"
#[PermRedirects] #[PermRedirects]
#"/old/path/file.ext" = "/new/path/file.ext" #"/old/path/file.ext" = "/new/path/file.ext"
#
## Certificate zones
#
#[CertificateZones]
#"^/secure-zone-1/" = [
# "d146953386694266175d10be3617427dfbeb751d1805d36b3c7aedd9de02d9af",
#]
#"^/secure-zone-2/" = [
# "d146953386694266175d10be3617427dfbeb751d1805d36b3c7aedd9de02d9af",
# "786257797c871bf617e0b60acf7a7dfaf195289d8b08d1df5ed0e316092f0c8d",
#]