From b0fd07f58ae2c6c1e93cf30e2e8be60ae6ebefde Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Tue, 30 Jun 2020 17:19:27 +0200 Subject: [PATCH] Provide full coverage of settings in example.conf. --- example.conf | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/example.conf b/example.conf index 1fa9c98..47af47a 100644 --- a/example.conf +++ b/example.conf @@ -1,3 +1,5 @@ +## Basic settings +# #Port = 1965 #Hostname = "localhost" #CertPath = "cert.pem" @@ -5,12 +7,48 @@ #DocBase = "/var/gemini/" #HomeDocBase = "users" #GeminiExt = "gmi" +#DefaultLang = "fi" #AccessLog = "/var/log/molly/access.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] -#"/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] #"/old/path/file.ext" = "/new/path/file.ext" #[PermRedirects] #"/old/path/file.ext" = "/new/path/file.ext" +# +## Certificate zones +# +#[CertificateZones] +#"^/secure-zone-1/" = [ +# "d146953386694266175d10be3617427dfbeb751d1805d36b3c7aedd9de02d9af", +#] +#"^/secure-zone-2/" = [ +# "d146953386694266175d10be3617427dfbeb751d1805d36b3c7aedd9de02d9af", +# "786257797c871bf617e0b60acf7a7dfaf195289d8b08d1df5ed0e316092f0c8d", +#]