aboutsummaryrefslogtreecommitdiff
path: root/changelog
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2016-03-28 10:12:37 +0800
committerAndy Green <andy@warmcat.com>2016-03-28 10:49:57 +0800
commitcd0c696a0d879f66c8142ace0619b944efd08915 (patch)
tree028a82dbaf27cb849ee74767b67ef42145171cea /changelog
parentd526c50c2227ab3daf43d8651c9ea82c26f84aec (diff)
downloadlibwebsockets-cd0c696a0d879f66c8142ace0619b944efd08915.tar.gz
lwsws Libwebsockets Web Server
This makes a start on the LibWebSockets WebServer. The app cmake build support and JSON config parsing are implemented and the app can start, create the vhosts, listen and serve file:// mounts on them. Signed-off-by: Andy Green <andy@warmcat.com>
Diffstat (limited to 'changelog')
-rw-r--r--changelog43
1 files changed, 43 insertions, 0 deletions
diff --git a/changelog b/changelog
index 9c598a19..3142d559 100644
--- a/changelog
+++ b/changelog
@@ -185,6 +185,49 @@ LWS_SERVER_OPTION_REDIRECT_HTTP_TO_HTTPS. If you give this, non-ssl
connections to the server listen port are accepted and receive a 301
redirect to / on the same host and port using https://
+New application lwsws
+---------------------
+
+A libwebsockets-based general webserver is built by default now, lwsws.
+
+It's configured by JSON, by default in
+
+ /etc/lwsws/conf
+
+which contains global lws context settings like this
+
+{
+ "global": {
+ "uid": "99",
+ "gid": "99",
+ "interface": "eth0",
+ "count-threads": "1"
+ }
+}
+
+ /etc/lwsws/conf.d/*
+
+which contains zero or more files describing vhosts, like this
+
+{
+ "vhosts": [
+ { "name": "warmcat.com",
+ "port": "443",
+ "host-ssl-key": "/etc/pki/tls/private/warmcat.com.key",
+ "host-ssl-cert": "/etc/pki/tls/certs/warmcat.com.crt",
+ "host-ssl-ca": "/etc/pki/tls/certs/warmcat.com.cer",
+ "mounts": [
+ { "/": [
+ { "home": "file:///var/www/warmcat.com" },
+ { "default": "index.html" }
+ ]
+ }
+ ]
+ }
+ ]
+}
+
+
v1.7.0
======