Added 502 error code to redirect maintainence page.