Proxy SSL Traffic To Meteor For Development

by Gerard Sychay

So I recently had to work on a feature that required an SSL connection. The problem is that I usually run meteor in the default manner on http://localhost:3000. Well, you can't serve up traffic on the SSL port 443 and port 3000 at the same time, and I wasn't about to build in SSL capabilities into meteor, so that left one answer: run a proxy.

A quick google search led to a page on Meteorpedia, which led me to the Meteor-SSL-Proxy repo on Github. The basic idea: run a proxy server on port 443, and proxy all traffic to your local meteor app running on port 3000. Here are the exact steps.