Switching to production mode breaks Erpnext (404 errors)

You may also try to set maintenance mode off