[Labs-l] Running node.js as a tool?

Merlijn van Deen valhallasw at arctus.nl
Wed Feb 4 17:11:13 UTC 2015


On 4 February 2015 at 17:11, Magnus Manske <magnusmanske at googlemail.com>
wrote:

> 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?
>
>
This should be possible, either by using lighttpd with fcgi (preferred) or
by running a node.js server directly below the proxy.

For the fcgi option, https://www.npmjs.com/package/node-fastcgi plus some
fiddling with the flask fcgi example on
https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Example_configurations
should get you started.

For the proxy option, see
https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Other_web_servers

Merlijn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/labs-l/attachments/20150204/ed7d5add/attachment.html>


More information about the Labs-l mailing list