YH-495: Do not show nginx's 404 error page for the API