summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-11 16:18:51 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-11 16:18:51 +0100
commit64493507905412e36848b9bd97c26f3d7a578ab5 (patch)
tree35540a96cecd70abc70b9f8a8969a17b7ae4cd2f
parentd1ecca18d97238aa6312c85521f1a4874699f1c4 (diff)
Added fcgi example config
-rw-r--r--TODO2
-rw-r--r--debian/changelog1
-rw-r--r--debian/webserver.example-fcgi.conf34
3 files changed, 36 insertions, 1 deletions
diff --git a/TODO b/TODO
index 6a8294f..f1ff320 100644
--- a/TODO
+++ b/TODO
@@ -1,8 +1,8 @@
example conf files:
- php
-- fcgi
test:
- FCGI
+- Redirect
Big file bug
- dynamic plugin interface (file buffer, ...)
Websockets
diff --git a/debian/changelog b/debian/changelog
index ce7835f..b16b192 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ webserver (1.18~pre1) UNRELEASED; urgency=medium
* Added websockets support (configurable forwarding proxy)
* CGI bugfix: Executable execute bits check
+ * Added example configurations
-- Roland Reichwein <mail@reichwein.it> Sun, 08 Jan 2023 15:26:48 +0100
diff --git a/debian/webserver.example-fcgi.conf b/debian/webserver.example-fcgi.conf
new file mode 100644
index 0000000..8a529e4
--- /dev/null
+++ b/debian/webserver.example-fcgi.conf
@@ -0,0 +1,34 @@
+<webserver>
+ <user>www-data</user>
+ <group>www-data</group>
+ <threads>10</threads>
+ <statisticspath>/var/lib/webserver/stats.db</statisticspath>
+ <plugin-directory>/usr/lib/webserver/plugins</plugin-directory>
+ <sites>
+ <site>
+ <name>localhost</name>
+ <host>localhost</host>
+ <host>[::1]</host>
+ <path requested="/fcgi">
+ <plugin>fcgi</plugin>
+ <target>127.0.0.1:9000</target>
+ </path>
+ <path requested="/unix">
+ <plugin>fcgi</plugin>
+ <target>/var/lib/webserver/fastcgi/socket</target>
+ </path>
+ <path requested="/fastcgi-exe">
+ <plugin>fcgi</plugin>
+ <target>/var/lib/webserver/fastcgi/executable</target>
+ </path>
+ </site>
+ </sites>
+ <sockets>
+ <socket>
+ <address>::1</address>
+ <port>8080</port>
+ <protocol>http</protocol>
+ <site>localhost</site>
+ </socket>
+ </sockets>
+</webserver>