This is IP.Board bug. This forum engine can send "40" http code instead of the correct "403'.
My solution to the problem - http://ramzes.ws/ipboard/upstream-sent-invalid-status-40
My solution to the problem - http://ramzes.ws/ipboard/upstream-sent-invalid-status-40