6 ms·
I'm experimenting with something similar as well, I'm curious - how do you solve HTTPS support since it's a built-in web-server?
by cjohansson 4y ago
I'm experimenting with something similar as well, I'm curious - how do you solve HTTPS support since it's a built-in web-server?
- grose 4y agoSomething like https://github.com/caddyserver/certmagic https://github.com/caddyserver/certmagic perhaps?
- matthewmueller 4y agoYes! This might be the one I add to Bud! Seems like a more mature version of: https://pkg.go.dev/golang.org/x/crypto/acme/autocert https://pkg.go.dev/golang.org/x/crypto/acme/autocert
- mholt 4y agoYes, definitely use CertMagic. Let me know if you have any questions!
- matthewmueller 4y agoNot available yet. I did write the docs though, digging them up... Created an RFC: https://github.com/livebud/bud/discussions/33 https://github.com/livebud/bud/discussions/33. Feedback very welcome! Hit me up on Twitter @mattmueller or over email hi@livebud.com. I'd love to hear what you're working on!