Skip to content

Commit

Permalink
Modified content_security_policy_template URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin-Belton-gov committed Feb 1, 2024
1 parent ff7259a commit 57e508d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grafana-files/grafana.ini
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ content_security_policy = true
# Set Content Security Policy template used when adding the Content-Security-Policy header to your requests.
# $NONCE in the template includes a random nonce.
# $ROOT_PATH is server.root_url without the protocol.
content_security_policy_template = """script-src 'self' 'unsafe-eval' 'unsafe-inline' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline' blob:;img-src * data:;base-uri 'self';connect-src 'self' localhost 20.107.65.156.nip.io/grafana dev.develop-child-family-social-work-career.education.gov.uk/grafana test.develop-child-family-social-work-career.education.gov.uk/grafana pre-prod.develop-child-family-social-work-career.education.gov.uk/grafana develop-child-family-social-work-career.education.gov.uk/grafana www.dev.develop-child-family-social-work-career.education.gov.uk/grafana www.test.develop-child-family-social-work-career.education.gov.uk/grafana www.pre-prod.develop-child-family-social-work-career.education.gov.uk/grafana www.develop-child-family-social-work-career.education.gov.uk/grafana ws://$ROOT_PATH wss://$ROOT_PATH;manifest-src 'self';media-src 'none';form-action 'self';"""
content_security_policy_template = """script-src 'self' 'unsafe-eval' 'unsafe-inline' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline' blob:;img-src * data:;base-uri 'self';connect-src 'self' 20.107.65.156.nip.io/grafana dev.develop-child-family-social-work-career.education.gov.uk/grafana test.develop-child-family-social-work-career.education.gov.uk/grafana pre-prod.develop-child-family-social-work-career.education.gov.uk/grafana develop-child-family-social-work-career.education.gov.uk/grafana www.develop-child-family-social-work-career.education.gov.uk/grafana ws://$ROOT_PATH wss://$ROOT_PATH;manifest-src 'self';media-src 'none';form-action 'self';"""

# Enable adding the Content-Security-Policy-Report-Only header to your requests.
# Allows you to monitor the effects of a policy without enforcing it.
Expand Down

0 comments on commit 57e508d

Please sign in to comment.