I serve executable scripts (mainly in C) through fcgiwrap
connected with nginx
. Since the scripts are complied, I can get the coding errors during compilation, but sometimes I receive CGI
errors simply stating
An error occurred while reading CGI reply (no response received)
Is there any debugging approach to identify what is wrong with the CGI request/proces?
How can I set a debugging system to deliver the errors into the nginx log?