donlinglok opened a new pull request, #357: URL: https://github.com/apache/apisix-docker/pull/357
Hi, I was trying to run the docker example with the below command: ``` git clone https://github.com/apache/apisix-docker.git cd apisix-docker/example docker-compose -p docker-apisix up -d ``` After I set the Grafana Address `http://localhost:3000/`, it displays error: ``` Refused to frame 'http://localhost:3000/' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'frame-src' was not explicitly set, so 'default-src' is used as a fallback. ```  This can be fixed by adding config `frame-src *` in `example\dashboard_conf\conf.yaml`: ``` content_security_policy: "default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; frame-src *" # You can set frame-src to provide content for your grafana panel. ``` After patch:  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
