freemankevin commented on issue #2586:
URL:
https://github.com/apache/apisix-dashboard/issues/2586#issuecomment-1365687075
```shell
[root@apisix example]# vim ./dashboard_conf/conf.yaml
...
#### csp for grafana ui
max_cpu: 0 # supports tweaking with the number of OS threads
are going to be used for parallelism. Default value: 0 [will use max number of
available cpu cores considering hyperthreading (if any)]. If the value is
negative, is will not touch the existing parallelism profile.
security:
#ccess_control_allow_origin: "http://httpbin.org"
access_control_allow_credentials: true # support using custom
cors configration
access_control_allow_headers: "Authorization"
access_control-allow_methods: "*"
x_frame_options: "allow-from *"
content_security_policy: "frame-src *" # You can set frame-src to
provide content for your grafana panel.
[root@apisix example]# docker restart example-apisix-dashboard-1
```
problem solved.


--
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]