1

I'm trying to (sort of) mimic the server setup of the official Meteor deploy infrastructure (the *.meteor.com subdomain deployments).

If it's only a handful of known meteor apps, I can just run the bundled apps on different ports and use nginx proxying. But how can I accommodate an arbitrary number of meteor app deployments on a single server (just like the official one)?

Thanks for the help!

2 Answers 2

1

just use node-http-proxy and either use the command line or restart the proxy process on changes.

1
  • looks like i'll be using it
    – Dave
    Jan 28, 2013 at 23:31
1

I would recommend HAProxy (or NginX) over node-http-proxy unless you need custom behaviour.

Both HAProxy and NginX perform better than node-http-proxy, and have much lower memory consumption.

Also, node-http-proxy (or just Node.js in general) is terrible at serving over SSL... So, if you go that route, make sure to terminate SSL before Node.js.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .