Re:Building a static serverless website using S3 and CloudFront
by veeti on Monday February 17, 2020 @05:21PM
(#22351445)
Replace nginx with Caddy for zero config HTTPS.
[ Parent
| on HN ]
Re:Building a static serverless website using S3 and CloudFront
by htfy96 on Monday February 17, 2020 @10:41PM
(#22353265)
I would wait for Caddy 2 at this point, for I found 1.0 doesn't work very well when your site gets complicated - many directives conflict with each other. Fortunately it seems that most of these are solved in 2.0.
Re:Building a static serverless website using S3 and CloudFront
by mholt on Tuesday February 18, 2020 @08:21PM
(#22362238)
Don't wait, start using it now while we're in beta so we can fix problems before they affect everyone!
Re:Building a static serverless website using S3 and CloudFront
by mholt on Monday February 17, 2020 @07:12PM
(#22352238)
And even bring your config with you: https://github.com/caddyserver/nginx-adapter