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

Updated grafana.ini #39

Merged
merged 5 commits into from
Feb 1, 2024
Merged
Changes from 3 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
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' grafana.com 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' 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';"""

# 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
Loading