Support 400 response in nginx pattern