gmcapsule/example.ini

67 lines
1.5 KiB
INI

; By default, configuration is read from ~/.gmcapsulerc. Use the -c option
; to specify some other configuration file.
[server]
;host = localhost
;address = 0.0.0.0
;port = 1965
;certs = .certs
;modules =
;threads = 5
;processes = 2
[static]
root = .
[titan]
;upload_limit = 10485760
[cgi]
bin_root = ./cgi-bin
[cgi.booster]
protocol = titan
host = localhost
path = /gemlog/* /plan.gmi
command = /usr/bin/python3 ../booster/booster.py
[cgi.printenv]
path = /cgienv
command = printenv
[rewrite.test]
path = ^/altenv$
status = 30 gemini://localhost/cgienv${QUERY_STRING}
;--------------------------------------------------------------------------
[gitview]
git = /usr/bin/git
cache_path = /Users/jaakko/Library/Caches/gmgitview
[gitview.lagrange]
title = Lagrange
brief = A Beautiful Gemini Client
clone_url = https://git.skyjake.fi/gemini/lagrange.git
tag_url = https://git.skyjake.fi/gemini/lagrange/releases/tag/{tag}
path = /Users/jaakko/src/lagrange
url_root = lagrange
default_branch = release
[gitview.gitview]
title = GmGitView
brief = Git Repository Viewer for Gemini
clone_url = https://git.skyjake.fi/gemini/gitview.git
path = /Users/jaakko/src/gmgitview
url_root = gmgitview
default_branch = main
[gitview.bubble]
title = Bubble
brief = Bulletin Boards for Gemini
clone_url = https://git.skyjake.fi/gemini/bubble.git
path = /Users/jaakko/src/bubble
url_root = bubble
default_branch = main