Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Appengine - Local dev server with https

Goal: Reduce dev - feedback cycle by using App Engine dev server. For my use this must be available as a public HTTPS address. App Engine dev server only supports HTTP.

How to do this: Use ngrok to expose local dev environment as https publically available address.

Reverse proxy with nginx from https to http.

This seems possible, but for life of me I haven't got the config working.

I'm working with App Engine Standard Java on osx.

Other working solutions or ideas are welcome. Surely there is a way to do this.

like image 290
Patrick Avatar asked Mar 17 '17 21:03

Patrick


Video Answer


1 Answers

In case you've got only one module you need to reach out via SSL, you can simply use this one https://github.com/cameronhunter/local-ssl-proxy. Installation and usage are super easy. Just change the target port to your module port and then browse it via https to the source port. If you need to reach to multiple modules, you need to run it multiple times with different params (ports).

like image 182
Rotem Vil Avatar answered Sep 19 '22 12:09

Rotem Vil