2021年8月12日 | Leave a comment 问题: 解决: 在配置中 增加 log 如: a.com { root * /home/www/a php_fastcgi 127.0.0.1:9000 file_server log { output file /var/log/caddy/itwenti.log } } 12345678910 a.com { root * /home/www/a php_fastcgi 127.0.0.1:9000 file_server log { output file /var/log/caddy/itwenti.log } } 参考: https://caddyserver.com/docs/caddyfile/directives/log