Logging embedded Perl return value

davidc nginx-forum at nginx.us
Thu Apr 9 12:54:27 MSD 2009


Thanks for the speedy nginx and speedy reply Igor.

The $status value does indeed log the 200 response.

Is it possible to configure nginx to return custom http status codes?

e.g. use a 299 and 298 code that are interpreted as a 200 OK by a custom
http client. The last two digits would signal information that would otherwise
have to be contained in a new header or body.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,933,936#msg-936






More information about the nginx mailing list