From f63f4e56aa15903034ae92cae86fba1e12ec41c0 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sun, 18 Mar 2018 15:47:02 +0800 Subject: [PATCH] lwsws: change the example to not bind to lo https://github.com/warmcat/libwebsockets/issues/1211 --- lwsws/etc-lwsws-conf.d-localhost-EXAMPLE | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lwsws/etc-lwsws-conf.d-localhost-EXAMPLE b/lwsws/etc-lwsws-conf.d-localhost-EXAMPLE index 2aa85e58..164e03a6 100644 --- a/lwsws/etc-lwsws-conf.d-localhost-EXAMPLE +++ b/lwsws/etc-lwsws-conf.d-localhost-EXAMPLE @@ -2,7 +2,8 @@ "vhosts": [ { "name": "localhost", "port": "7681", - "interface": "lo", +# by default, bind to all interfaces, but you can restrict it +# "interface": "lo", # "host-ssl-key": "/etc/pki/tls/private/libwebsockets.org.key", # "host-ssl-cert": "/etc/pki/tls/certs/libwebsockets.org.crt", # "host-ssl-ca": "/etc/pki/tls/certs/libwebsockets.org.cer",