1. Caddy version (caddy version
):
v2.4.0
2. How I run Caddy:
In screen, caddy run --watch
a. System environment:
Ubuntu 20.04
b. Command:
caddy run --watch
c. Service/unit/compose file:
N/A
d. My complete Caddyfile or JSON config:
test1.domain.com, test2.domain.com {
root * /home/customer-sites
encode gzip
php_fastcgi unix//run/php/php7.4-fpm.sock
errors error.log
file_server
}
admin.domain.com {
root * /home/admin
encode gzip
php_fastcgi unix//run/php/php7.4-fpm.sock
errors error.log
file_server
}
3. The problem I’m having:
I might be overlooking something here but how do you enable error logs for PHP?
4. Error messages and/or full log output:
N/A
5. What I already tried:
errors error.log
6. Links to relevant resources:
N/A