<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Feb 4, 2015 at 9:11 AM, Merlijn van Deen <span dir="ltr"><<a href="mailto:valhallasw@arctus.nl" target="_blank">valhallasw@arctus.nl</a>></span> wrote:<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"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>For the proxy option, see <a href="https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Other_web_servers" target="_blank">https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Other_web_servers</a></div></div></div></div></blockquote><div><br></div><div>I don't know all the details for the labs setup, but in general we tend to run node services as stand-alone web services, which can be (optionally) proxied to from a front-end service like nginx or lighttpd. The advantage of having a stand-alone web service is that you can use / test that service independently from any front-end proxy setup. The downside is that you need to set up init scripts etc to keep it running reliably. We have developed pretty standard ways to do this across node services (see for example <a href="https://github.com/wikimedia/mathoid">mathoid</a>). The next step is to package those standard solutions up in a tool or template, so that they can be quickly and consistently applied to new services. This is tracked in <a href="https://phabricator.wikimedia.org/T88585">https://phabricator.wikimedia.org/T88585</a>.</div><div><br></div><div>Gabriel</div></div></div></div>