How to use Caddy with PHP and Docker

Caddy is an excellent HTTP/2 web server with automatic HTTPS. The configuration is simple and approachable, providing secure defaults and self-contained binaries that run on every platform.

I have found Caddy to be my go-to server for running PHP Docker containers in production. Using the official PHP-FPM image, we can run Caddy and start PHP-FPM in the background within the same container.

I find that running PHP-FPM and Caddy together simplifies my stack by eliminating the need for FastCGI...

 •  0 comments  •  flag
Share on Twitter
Published on October 11, 2017 20:00
No comments have been added yet.