Fork me on GitHub
#yada
<
2018-04-26
>
dominicm05:04:32

@stijn I think we wrote a little ring handler, and used bidi to determine what protocol was incoming.

wdullaer07:04:56

@stijn I've had good experiences using caddyserver for this kind of job: it integrates with letsencrypt out of the box, does the forwarding by default. Configuring it is a lot easier than nginx

stijn07:04:03

@dominicm do you have an example for that? I don't understand how bidi is in play for this scenario

dominicm07:04:57

@stijn bidi can have a different set of matches for http or https using vhosts

stijn07:04:53

@wdullaer we are on AWS elastic beanstalk with load balancers that get their certs from AWS certificate manager though. but good suggestion nonetheless 🙂

stijn07:04:11

@dominicm OK, that's very useful!

dominicm07:04:46

I'd help more, but I'm on a bus :)

stijn07:04:59

no problem, I think I can figure that out, thanks!