summaryrefslogtreecommitdiffhomepage
path: root/debian/webserver.example-websocket.conf
diff options
context:
space:
mode:
Diffstat (limited to 'debian/webserver.example-websocket.conf')
-rw-r--r--debian/webserver.example-websocket.conf26
1 files changed, 26 insertions, 0 deletions
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>