Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 761b025

Browse files
committed
fixed security example configuration for the /_internal prefix
1 parent edeb51b commit 761b025

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/config/security.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,8 @@ security:
3535

3636
access_control:
3737
#- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: https }
38+
#
39+
# You must uncomment the two following rules to restrict access to paths
40+
# starting with the /_internal prefix to only localhost
3841
#- { path: ^/_internal, roles: IS_AUTHENTICATED_ANONYMOUSLY, ip: 127.0.0.1 }
42+
#- { path: ^/_internal, roles: ROLE_NO_ACCESS }

0 commit comments

Comments
 (0)