sites/werc.cat-v.org/docs/web-server-setup/: add cgd.md

This commit is contained in:
stanley lieber 2020-06-11 21:28:58 -04:00
parent e6746297f9
commit 9ad7b65370

View File

@ -0,0 +1,14 @@
cgd
===
Cgd is a simple daemon written in [go](http://golang.org) that can
serve a CGI script over HTTP or FastCGI. It only needs to know the
location of the Plan 9 (9base, frontbase, or plan9port) binaries, and
the location of the werc installation itself. There is no
configuration file.
For example, to run werc under cgd on Plan 9:
PLAN9=/ cgd -c $werc/bin/werc.rc -w $werc/bin
Download it here: <https://code.9front.org/hg/cgd>