A stack middleware for displaying maintenance pages