Do this: https://github.com/kubernetes/ingress-nginx/tree/master/images/custom-error-pages
PLANET-5880 Deploy Global 404 page