diff --git a/service_container.rst b/service_container.rst
index 6ae601cf724..6086ae1d946 100644
--- a/service_container.rst
+++ b/service_container.rst
@@ -226,7 +226,7 @@ each time you ask for it.
     If some files or directories in your project should not become services, you
     can exclude them using the ``exclude`` option:
 
-        .. configuration-block::
+    .. configuration-block::
 
         .. code-block:: yaml