It reminds me of the Caddyfile.
example.com { root \* /var/www/wordpress encode php_fastcgi unix//run/php/php-version-fpm.sock file_server