37 lines
596 B
Plaintext
37 lines
596 B
Plaintext
# Gemserv
|
|
|
|
A gemini server written in rust.
|
|
|
|
## Features
|
|
|
|
- Vhosts
|
|
- CGI
|
|
- User directories
|
|
- Reverse proxy
|
|
- Redirect
|
|
|
|
## Installation and running
|
|
|
|
- Clone the repo
|
|
- Run 'cargo build --release'
|
|
- Modify the config.toml to your needs
|
|
- Run './target/release/gemserv config.toml'
|
|
|
|
## Create server key/cert pairs
|
|
|
|
|
|
## CGI Environments
|
|
|
|
These variables are preset for you. If you need more you can define them in the
|
|
config file under "cgienv"
|
|
|
|
- GEMINI_URL
|
|
- SERVER_NAME
|
|
- SERVER_PROTOCOL
|
|
- SERVER_SOFTWARE
|
|
- SCRIPT_NAME
|
|
- REMOTE_ADDR
|
|
- REMOTE_HOST
|
|
- REMOTE_PORT
|
|
- QUERY_STRING
|