Hi, nginx does its job correctly: $ curl -I http://nginx.org/404 $ HTTP/1.1 404 Not Found $ [...] I guess the irregular response comes from your mod_perl backend? Did you check that out? Capturing nginx's debug output of such a request will probably help. http://nginx.org/en/docs/debugging_log.html Regards, Lukas