summaryrefslogtreecommitdiffhomepage
path: root/debian/webserver.example-fcgi.conf
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 /debian/webserver.example-fcgi.conf
parentd1ecca18d97238aa6312c85521f1a4874699f1c4 (diff)
Added fcgi example config
Diffstat (limited to 'debian/webserver.example-fcgi.conf')
-rw-r--r--debian/webserver.example-fcgi.conf34
1 files changed, 34 insertions, 0 deletions
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>