News for hackers. Stuff that matters.
Re:Server Side TLS by okket on Tuesday August 02, 2016 @02:25AM (#12208123)
> Now you want to add HTTPS to it? It's not easy.

Try Caddy with automatic HTTPS [0] in reverse proxy mode [1].

[0] https://caddyserver.com/docs/automatic-https

[1] https://caddyserver.com/docs/proxy

Re:Server Side TLS by Teichopsia on Tuesday August 02, 2016 @02:37AM (#12208161)
Pardon my ignorance, but as a complete beginner how do you hook that up with a python (flask / gunicorn) app?
Re:Server Side TLS by okket on Tuesday August 02, 2016 @02:53AM (#12208221)
Run the python process on a different port and let Caddy act as a proxy, forwarding requests from the original port to it. As described in the second (proxy) link.