Welcome in 2019 – it’s time to upgrade out outdated LAMP stack series articles, with new “How To” setup basic web server for our stack.
When you start looking for a solution you will find answers like: use Cloudfront, use lambda, use middleware 3rd party service. And basically you don’t have any other choice. There is no simple solution to your problem. But – as long as you are using Caddy Server solution is super easy.
Caddy is a another alternative to Apache or nginx . For me the biggest advantage is that it’s only one binary file to work with. It’s easy to run, setup and just “works”. It’s super modern – handles HTTP2 and automatic HTTPS encryption using let’s encrypt certificates. Obviously it has plenty of other features but we focus only on speed of deployment.