Revert "removing 500 from custom errors"

This reverts commit 65d48023e3e580f6ef28d6e8261ec04f90d89104.
config 404 for azure