1
0
Fork 1
gmnisrv/README.md

54 lines
1020 B
Markdown
Raw Permalink Normal View History

2020-09-24 15:11:48 +00:00
# gmnisrv
2023-01-16 12:33:40 +00:00
**Notice**: this project is no longer maintained.
2020-09-26 20:43:34 +00:00
gmnisrv is a simple [Gemini](https://gemini.circumlunar.space) protocol server.
## Installation
2020-09-26 20:45:43 +00:00
Dependencies:
- A C11 compiler and a POSIX-like system
- OpenSSL
2020-11-01 19:24:31 +00:00
- Mailcap (for /etc/mime.types)
2020-09-26 20:45:43 +00:00
- [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (optional)
2020-09-26 20:43:34 +00:00
```
$ 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
2020-09-26 22:51:24 +00:00
[example.org]
root=/srv/gemini/example.org
[example.com]
root=/srv/gemini/example.com
2020-09-26 20:43:34 +00:00
```
2020-09-26 20:46:07 +00:00
For full details on gmnisrv configuration, consult the **gmnisrv**(5) manual
page.
2020-09-26 20:43:34 +00:00
## Usage
2020-09-26 20:46:07 +00:00
See **gmnisrv**(1).