From c24776c012ddb6aad74cbe70d167e1d1f340cbcf Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sat, 7 May 2022 23:17:35 +0200 Subject: [PATCH] updating the example config as upstream's one --- README.md | 4 ++-- README_fr.md | 4 ++-- doc/DISCLAIMER.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 540e69a..774efb8 100644 --- a/README.md +++ b/README.md @@ -58,14 +58,14 @@ cgipath = "/path/to/cgi-bin/" scgi = { "/scgi" = "localhost:4000" } # cgienv is optional cgienv = { "GIT_PROJECT_ROOT" = "/srv/git" } -# usrdir is optional. it'll look in /home/usr/public_gemini +# usrdir is optional. it'll look in each user's ~/public_gemini usrdir = true # proxy is optional # path is what comes after the hostname e.g. example.com/path proxy = { path = "localhost:1966" } # proxy_all is optional # It will send all requests to the specified server. It also supports streamming. -proxy_all = localhost:1967 +proxy_all = "localhost:1967" # redirect is optional redirect = { "/redirect" = "/", "/newdomain" = "gemini://example.net" } ``` diff --git a/README_fr.md b/README_fr.md index 10ce62e..a00bd01 100644 --- a/README_fr.md +++ b/README_fr.md @@ -54,14 +54,14 @@ cgipath = "/path/to/cgi-bin/" scgi = { "/scgi" = "localhost:4000" } # cgienv is optional cgienv = { "GIT_PROJECT_ROOT" = "/srv/git" } -# usrdir is optional. it'll look in /home/usr/public_gemini +# usrdir is optional. it'll look in each user's ~/public_gemini usrdir = true # proxy is optional # path is what comes after the hostname e.g. example.com/path proxy = { path = "localhost:1966" } # proxy_all is optional # It will send all requests to the specified server. It also supports streamming. -proxy_all = localhost:1967 +proxy_all = "localhost:1967" # redirect is optional redirect = { "/redirect" = "/", "/newdomain" = "gemini://example.net" } ``` diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index ced6501..af98e68 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -22,14 +22,14 @@ cgipath = "/path/to/cgi-bin/" scgi = { "/scgi" = "localhost:4000" } # cgienv is optional cgienv = { "GIT_PROJECT_ROOT" = "/srv/git" } -# usrdir is optional. it'll look in /home/usr/public_gemini +# usrdir is optional. it'll look in each user's ~/public_gemini usrdir = true # proxy is optional # path is what comes after the hostname e.g. example.com/path proxy = { path = "localhost:1966" } # proxy_all is optional # It will send all requests to the specified server. It also supports streamming. -proxy_all = localhost:1967 +proxy_all = "localhost:1967" # redirect is optional redirect = { "/redirect" = "/", "/newdomain" = "gemini://example.net" } ```