Wowmow - Reverse Proxy for Development à la Render

Here’s something I’d like to share with you… maybe useful to some.

I needed a reverse proxy on a custom domain to test some crazy webhooks and therefore threw together a dead simple (50 LOC) solution for Render. It’s basically a private ngrok of sorts.

This self-containted little Ruby Rack app responds to /healthz to make Render happy and reverse proxies everything else to the local port 3080 to which you connect your local development server with “ssh -R”. You can optionally enforce basic auth by just setting two environment variables.

Cheers!

1 Like