<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 4 February 2015 at 17:11, Magnus Manske <span dir="ltr"><<a href="mailto:magnusmanske@googlemail.com" target="_blank">magnusmanske@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Can I setup a node.js webserver as a tool on Labs (shared, no dedicated VM), and access it under the tool's URL? If so, any documentation as to how?<div><br></div></blockquote><div><br></div><div>This should be possible, either by using lighttpd with fcgi (preferred) or by running a node.js server directly below the proxy.</div><div><br></div><div>For the fcgi option, <a href="https://www.npmjs.com/package/node-fastcgi">https://www.npmjs.com/package/node-fastcgi</a> plus some fiddling with the flask fcgi example on <a href="https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Example_configurations">https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Example_configurations</a> should get you started.</div><div><br></div><div>For the proxy option, see <a href="https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Other_web_servers">https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Other_web_servers</a></div><div><br></div><div>MerlijnĀ </div></div></div></div>