jlxip/zodiac(新しいタブで開きます)
主要言語: C++
A reverse proxy and load balancer for Gemini
- star 数
- 9
- watcher 数
- 2
- fork 数
- 0
- issue 数
- 0
- 最終更新
- 2023/03/04
主要言語: C++
A reverse proxy and load balancer for Gemini
Zodiac is a low-footprint high-performance reverse proxy and load balancer for Gemini, written in C++. Think of it like an nginx for Gemini, meant to connect to FastCGI-like local servers, or backends.
This project:
PROXY ERROR) in case the backend doesn't answer.The configuration file defaults to ./zodiac.conf, but a different one can be specified via the ZODIAC_CONFIG environment variable.
An example config is given in the example.conf file at the root of the repository.
The backend receives <URL><CR><LF><Client's IP><CR><LF>. This way, the proxy is transparent while the specification is not broken, since the second line can be ignored.
A Dockerfile is available at the root of this repository. It is automatically built and pushed to the Docker Hub on each release, with the name jlxip/zodiac. To use it, run something along the lines of:
docker volume create zodiac_config sudo cp yourconfig.conf /var/lib/docker/volumes/zodiac_config/_data/zodiac.conf docker run -d -p 1965:1965 --name myserver --restart=unless-stopped -v zodiac_config:/config jlxip/zodiac:latest
$ZODIAC_CONFIG)