1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

lwsws: change the example to not bind to lo

https://github.com/warmcat/libwebsockets/issues/1211
This commit is contained in:
Andy Green 2018-03-18 15:47:02 +08:00
parent e4a3e8c4d4
commit f63f4e56aa

View file

@ -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",