summaryrefslogtreecommitdiffhomepage
path: root/debian
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-11 16:04:05 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-11 16:04:05 +0100
commitd1ecca18d97238aa6312c85521f1a4874699f1c4 (patch)
tree864d381c9fe90b6dc7a4fa581120b2c38c5308b2 /debian
parente679b0241662ea7c1910b9fc02ed0cb8f59b0de6 (diff)
Added tests, example configuration
Diffstat (limited to 'debian')
-rw-r--r--debian/webserver.docs2
-rw-r--r--debian/webserver.example-websocket.conf26
2 files changed, 27 insertions, 1 deletions
diff --git a/debian/webserver.docs b/debian/webserver.docs
index 0b7c406..ea758e8 100644
--- a/debian/webserver.docs
+++ b/debian/webserver.docs
@@ -1,2 +1,2 @@
README.txt
-webserver.example-cgi.conf
+debian/webserver.example-*.conf
diff --git a/debian/webserver.example-websocket.conf b/debian/webserver.example-websocket.conf
new file mode 100644
index 0000000..06d8676
--- /dev/null
+++ b/debian/webserver.example-websocket.conf
@@ -0,0 +1,26 @@
+<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="/">
+ <plugin>websocket</plugin>
+ <target>::1:8765</target>
+ </path>
+ </site>
+ </sites>
+ <sockets>
+ <socket>
+ <address>::1</address>
+ <port>8080</port>
+ <protocol>http</protocol>
+ <site>localhost</site>
+ </socket>
+ </sockets>
+</webserver>