diff --git a/lib/base.php b/lib/base.php index be2567cfd33..54b7a5e3629 100644 --- a/lib/base.php +++ b/lib/base.php @@ -295,6 +295,7 @@ class OC { if (((bool) $systemConfig->getValue('maintenance', false)) && OC::$SUBURI != '/core/ajax/update.php') { // send http status 503 http_response_code(503); + header('X-Nextcloud-Maintenance-Mode: 1'); header('Retry-After: 120'); // render error page