Example of a docker environment with multiple PHP versions on the same Nginx webserver.
http://localhost
http://localhost/php56
http://localhost/php74
http://localhost/php81
One Nginx But Different PHP Versions Based on Your Hostname/Request URI