Can response code be 444 in error_page

bluekyu nginx-forum at nginx.us
Wed Nov 5 09:32:15 UTC 2014


Hello.

I want to reject a connection when some errors (400, 403, ...) occur, so I
used error code 444 in error_page like this:

error_page 400 =444 @reject_conn;
location @reject_conn {
    return 444;
}

When I tested it, the network connection was waiting continuously, not
closed (reseted).
I wonder if this situation is right.
I also searched internet and read a document, but I could not find a
answer.

Is this situation right? (or, does the code work, well?)

Thanks.

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



More information about the nginx mailing list