set display_errors to stderr to record to nginx defined error log