You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
William Casarin 1925bc3e7a serve: make hostname matching case-insensitive 2 months ago
doc Support REMOTE_USER in CGI 7 months ago
include implement handling of ROUTE_EXACT definitions 12 months ago
src serve: make hostname matching case-insensitive 2 months ago
.gitignore gitignore: add *.5 1 year ago
COPYING Initial commit 1 year ago
Makefile Documentation 1 year ago
README.md Add mailcap to dependencies 1 year ago
config.ini config.ini: change suggested root directory 1 year ago
config.sh Implement MIME database support 1 year ago
configure Initial pass on regex routing support 1 year ago

README.md

gmnisrv

gmnisrv is a simple Gemini protocol server.

Installation

Dependencies:

  • A C11 compiler and a POSIX-like system
  • OpenSSL
  • Mailcap (for /etc/mime.types)
  • scdoc (optional)
$ mkdir build
$ cd build
$ ../configure --prefix=/usr
$ make
# make install

Configuration

By default it reads from /etc/gmnisrv.ini, but this can be changed by passing the -C flag to the gmnisrv daemon. A sample config.ini is provided at /usr/share/gmnisrv/gmnisrv.ini:

# Space-separated list of hosts
listen=0.0.0.0:1965 [::]:1965

[:tls]
# Path to store certificates on disk
store=/var/lib/gemini/certs

# Optional details for new certificates
organization=gmnisrv user

[example.org]
root=/srv/gemini/example.org

[example.com]
root=/srv/gemini/example.com

For full details on gmnisrv configuration, consult the gmnisrv(5) manual page.

Usage

See gmnisrv(1).