Hi,
This got resolved. Thanks
While upgrading the dhis to v2.40.4.1 along with upgrading the core container we also upgraded nginx to latest because of which the maintenance page was blank. After reverting back to our old nginx container the maintenance is all up!