{"action":"opened","issue":{"url":"https://api.github.com/repos/eclipse/mosquitto/issues/286","repository_url":"https://api.github.com/repos/eclipse/mosquitto","labels_url":"https://api.github.com/repos/eclipse/mosquitto/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/mosquitto/issues/286/comments","events_url":"https://api.github.com/repos/eclipse/mosquitto/issues/286/events","html_url":"https://github.com/eclipse/mosquitto/issues/286","id":182455397,"number":286,"title":"Mosquitto as its own webserver not working","user":{"login":"cymplecy","id":2357428,"avatar_url":"https://avatars.githubusercontent.com/u/2357428?v=3","gravatar_id":"","url":"https://api.github.com/users/cymplecy","html_url":"https://github.com/cymplecy","followers_url":"https://api.github.com/users/cymplecy/followers","following_url":"https://api.github.com/users/cymplecy/following{/other_user}","gists_url":"https://api.github.com/users/cymplecy/gists{/gist_id}","starred_url":"https://api.github.com/users/cymplecy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cymplecy/subscriptions","organizations_url":"https://api.github.com/users/cymplecy/orgs","repos_url":"https://api.github.com/users/cymplecy/repos","events_url":"https://api.github.com/users/cymplecy/events{/privacy}","received_events_url":"https://api.github.com/users/cymplecy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-12T07:35:17Z","updated_at":"2016-10-12T07:35:17Z","closed_at":null,"body":"My interpretation of the docs, makes me think that mosquitto should work as its own simple webserver for websockets use (To save having to install a separate one just to host a web page for processing mqtt javascript based webpage) \r\n\r\nHowever, I cannot get this to work (On a RaspberryPi using 1.4.10)\r\n\r\nI am using this in my conf file\r\nlistener 80\r\nprotocol websockets\r\nhttp_dir /var/www/html\r\n\r\nIf I run lighttpd serving the content from /var/www/html instead of the above it all works fine but it won;t work without it.\r\n\r\nHave I mis-interpreted this bit of mosquito capability, got the wrong configuration or does it not work?"}}
{"actor":{"display_login":"cymplecy"}}