Updated config.toml and README

This commit is contained in:
int 80h
2020-05-10 17:26:26 -04:00
parent 26b55f7d1e
commit 4eb65aabef
2 changed files with 4 additions and 0 deletions

1
README
View File

@@ -7,6 +7,7 @@ A gemini server written in rust.
- Vhosts - Vhosts
- CGI - CGI
- User directories - User directories
- Reverse proxy
## Installation and running ## Installation and running

View File

@@ -11,6 +11,9 @@ cert = "/path/to/cert"
cgi = "/path/to/cgi-bin/" cgi = "/path/to/cgi-bin/"
# usrdir is optional. it'll look in /home/~usr/public_gemini # usrdir is optional. it'll look in /home/~usr/public_gemini
usrdir = true usrdir = true
# proxy is optional
# path is what comes after the hostname e.g. example.com/path
proxy { path = "localhost:1966" }
[[server]] [[server]]
hostname = "example.net" hostname = "example.net"