caddy-php-fpm/Caddyfile

15 lines
214 B
Caddyfile

{
supervisor {
php-fpm {
dir /var/www/html
user www-data
restart_policy always
}
}
}
:8088 {
root * /var/www/html
php_fastcgi 127.0.0.1:9000
encode gzip
file_server
}