From 4eb65aabef0e6fe28ccfacc9f9870e43cc037eed Mon Sep 17 00:00:00 2001 From: int 80h Date: Sun, 10 May 2020 17:26:26 -0400 Subject: [PATCH] Updated config.toml and README --- README | 1 + config.toml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README b/README index ab02acb..ffcb26d 100644 --- a/README +++ b/README @@ -7,6 +7,7 @@ A gemini server written in rust. - Vhosts - CGI - User directories + - Reverse proxy ## Installation and running diff --git a/config.toml b/config.toml index b159fad..25285a9 100644 --- a/config.toml +++ b/config.toml @@ -11,6 +11,9 @@ cert = "/path/to/cert" cgi = "/path/to/cgi-bin/" # usrdir is optional. it'll look in /home/~usr/public_gemini usrdir = true +# proxy is optional +# path is what comes after the hostname e.g. example.com/path +proxy { path = "localhost:1966" } [[server]] hostname = "example.net"