Add 'connect-src' directive to Content Security Policy
This commit adds the 'connect-src' directive to the Content Security Policy in the nelmio_security.yaml file. This allows connections only to the same origin ('self').
This commit is contained in:
parent
3305c26750
commit
60de619080
@ -46,6 +46,8 @@ nelmio_security:
|
|||||||
- 'self'
|
- 'self'
|
||||||
font-src:
|
font-src:
|
||||||
- 'self'
|
- 'self'
|
||||||
|
connect-src:
|
||||||
|
- 'self'
|
||||||
form-action:
|
form-action:
|
||||||
- 'none'
|
- 'none'
|
||||||
frame-ancestors:
|
frame-ancestors:
|
||||||
|
Loading…
Reference in New Issue
Block a user