From e687e24a2014442120a5a0b8fd037fcbffb6efe0 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Wed, 21 Mar 2018 08:13:00 +0100 Subject: [PATCH] fix some security config examples --- security/access_control.rst | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/security/access_control.rst b/security/access_control.rst index 2bbedd6781b..0c6a4a58d42 100644 --- a/security/access_control.rst +++ b/security/access_control.rst @@ -191,10 +191,10 @@ pattern so that it is only accessible by requests from the local server itself: - + + 127.0.0.1 + ::1 + @@ -209,7 +209,7 @@ pattern so that it is only accessible by requests from the local server itself: array( 'path' => '^/internal', 'role' => 'IS_AUTHENTICATED_ANONYMOUSLY', - 'ips' => '127.0.0.1, ::1', + 'ips' => array('127.0.0.1', '::1'), ), array( 'path' => '^/internal', @@ -262,10 +262,19 @@ key: .. code-block:: xml - + + + + + - + + .. code-block:: php