Introduction
Introduction Statistics Contact Development Disclaimer Help
README: add CGI configuration examples - gopherproxy-c - Gopher HTTP proxy in C…
git clone git://git.codemadness.org/gopherproxy-c
Log
Files
Refs
README
LICENSE
---
commit 9513ef706fdb1d0fe7ec1c8f6da1fb78ed573f2d
parent e21c517078a89ad1023d7ac0c5db8aa5eecab7a9
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 17 Aug 2018 18:50:11 +0200
README: add CGI configuration examples
Diffstat:
M README | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/README b/README
@@ -24,6 +24,28 @@ Cons
- Not all gopher types are supported.
+CGI configuration examples
+--------------------------
+
+Mginx + slowcgi:
+
+ location /gopherproxy/ {
+ include /etc/nginx/fastcgi_params;
+ fastcgi_pass unix:/run/slowcgi.sock;
+ fastcgi_param SCRIPT_FILENAME /cgi-bin/gopherproxy.cgi;
+ fastcgi_param SCRIPT_NAME /cgi-bin/gopherproxy.cgi;
+ fastcgi_param REQUEST_URI /cgi-bin/gopherproxy.cgi;
+ }
+
+
+OpenBSD httpd + slowcgi:
+
+ location "/gopherproxy" {
+ root "/cgi-bin/gopherproxy.cgi"
+ fastcgi
+ }
+
+
Notes
-----
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.