diff --git a/config/fpm-pool.conf b/config/fpm-pool.conf index 8cb9f45..741c1ed 100644 --- a/config/fpm-pool.conf +++ b/config/fpm-pool.conf @@ -1,3 +1,7 @@ +[global] +; Log to stderr +error_log = /dev/stderr + [www] ; Enable status page pm.status_path = /fpm-status @@ -29,3 +33,6 @@ pm.max_requests = 500 ; Make sure the FPM workers can reach the environment variables for configuration clear_env = no + +; Catch output from PHP +catch_workers_output = yes diff --git a/config/nginx.conf b/config/nginx.conf index b35ea5a..7c6bad6 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -15,7 +15,7 @@ http { '$request_time $upstream_response_time $pipe $upstream_cache_status'; access_log /dev/stdout main_timed; - error_log /dev/stderr info; + error_log /dev/stderr notice; keepalive_timeout 65;