Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #80 : Wrong configuration example #89

Merged
merged 1 commit into from
Apr 17, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ nelmio_security:

# prevents inline scripts, unsafe eval, external scripts/images/styles/frames, etc
csp:
hosts: []
content_types: []
report:
report-uri: [/nelmio/csp/report]
default-src: [ 'self' ]
Expand All @@ -102,8 +104,6 @@ nelmio_security:
- 'self'
block-all-mixed-content: true # Default to false, blocks http content over https transport
# upgrade-insecure-requests: true # Default to false, upgrades http requests to https transport
hosts: []
content_types: []
enforce:
# see https://github.com/nelmio/NelmioSecurityBundle/issues/32
report-uri: [/nelmio/csp/report]
Expand Down Expand Up @@ -169,6 +169,8 @@ hostnames will use the CSP rule.
nelmio_security:
csp:
report_logger_service: logger
hosts: []
content_types: []
enforce:
report-uri: /nelmio/csp/report
default-src: [ 'self' ]
Expand All @@ -182,8 +184,6 @@ nelmio_security:
- flickr.com
block-all-mixed-content: true # Default to false, blocks http content over https transport
# upgrade-insecure-requests: true # Default to false, upgrades http requests to https transport
hosts: []
content_types: []
report:
report-uri: /nelmio/csp/report
script-src:
Expand Down