zero icon indicating copy to clipboard operation
zero copied to clipboard

SSL support

Open mrmurphy opened this issue 5 years ago • 3 comments

This is such a neat idea! I LOVE the simplicity of the 'ol "let's just build a Web page by making a new file and putting code in it" thing. But something I'd really love? SSL support, so I can just deploy this baby without even throwing it behind NGINX and fiddling with let's encrypt. Is that a possibility?

mrmurphy avatar Mar 01 '19 03:03 mrmurphy

Thanks. I like the idea of ssl support. What would be the best experience, maybe running zero https example.com or something should do it all for the user. I have seen similar in dokku’s letsencrypt plugin. Is there an easier, more automatic way.

asadm avatar Mar 01 '19 08:03 asadm

For local, could use mkcert https://github.com/FiloSottile/mkcert and then letsencrypt for deployed version?

HugoDF avatar Mar 01 '19 11:03 HugoDF

What if we did something like the CNAME file convention some servers had, and if the user has a “domains.txt” file in the root containing a comma separated list of domain names, we could use let's encrypt to automatically make a cert for those domains and serve over SSL?

mrmurphy avatar Mar 01 '19 17:03 mrmurphy