<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2013/12/27 tom collins <span dir="ltr"><<a href="mailto:tom.collins.work@gmail.com" target="_blank">tom.collins.work@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>I'm trying to set up testing/staging/production virtual hosts, however I can't find anything suggesting you can specify configuration settings for individual virtual hosts, or configure the MQTT plugin for different vhosts based on the port and/or username/password.</div>
</div><div><br></div><div>Is there a best practice using the MQTT plugin with different vhosts?</div></blockquote></div><br>There is no way to do this at the moment. One of the upcoming versions will make it possible<br clear="all">
<div>to specify vhost MQTT connections will use as part of the username.</div><div><br></div><div>MQTT itself has no concept of vhosts, period.</div>-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br>
<a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</div></div>