From f1820cdbabf8dcb2ece76e4ee6b95e78eb94566d Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Tue, 20 Sep 2022 21:49:26 +0530 Subject: [PATCH] Add cgi info to vger post, remove media/ --- media/pb-sandwich.svg | 14 -------------- posts/vger.md | 8 +++++++- 2 files changed, 7 insertions(+), 15 deletions(-) delete mode 100644 media/pb-sandwich.svg diff --git a/media/pb-sandwich.svg b/media/pb-sandwich.svg deleted file mode 100644 index c133117..0000000 --- a/media/pb-sandwich.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - pb-sandwich - Created with Sketch. - - - - - - - - - \ No newline at end of file diff --git a/posts/vger.md b/posts/vger.md index 1bc916a..3921124 100644 --- a/posts/vger.md +++ b/posts/vger.md @@ -8,6 +8,8 @@ Hi, I recently setup vger, a gemini server to replace agate on ~vern. +The main reason was the great virtual-hosts support (You just put a directory with the domain name in the dir and its rendered on it, no reload or anything!) + Heres some instructions on how I did that, on GNU/Linux. Firstly, one of the hurdles i came across was that the instructions at the [git repo](https://tildegit.org/solene/vger) were very BSD-focused. @@ -27,7 +29,7 @@ services.xinetd.services = [ { name = "vger"; user = "gemini"; server = "/var/gemini/vger/vger"; - serverArgs = "-v -i"; + serverArgs = "-v -i -c cgi-bin"; protocol = "tcp"; port = 11965; unlisted = true; @@ -93,6 +95,10 @@ WantedBy=default.target Now, just open 1965 through your firewall and you can access your gemini server! +While vger does support CGI, it does not support `TLS_CLIENT_HASH` since TLS is not handled by it. + +Hence some gemini cgi progs will not work (mainly ones that need authentication) + If you have any doubts/questions/recommendations, feel free to ask in #vern-chat ~aryak