|
|
|
|
|
by francislavoie
749 days ago
|
|
Just as a reminder, you can use Caddy + php-fpm as well (with vanilla Caddy, no plugins). What this does is give you a way to run your webserver + PHP as a single process, or single Docker container (instead of the traditional 2-container approach), and it also unlocks the ability to run PHP in a worker mode, where you have long-running PHP processes that have your framework loaded in memory ready to serve requests, instead of booting the framework on every request (so, much lower request latency). |
|
Related reading:
https://blog.tjll.net/reverse-proxy-hot-dog-eating-contest-c...