Chever-John commented on code in PR #340:
URL: https://github.com/apache/apisix-docker/pull/340#discussion_r935170670


##########
example/apisix_conf/config.yaml:
##########
@@ -35,6 +35,13 @@ apisix:
   control:
     ip: "0.0.0.0"
     port: 9092
+  security:
+    access_control_allow_origin: "http://httpbin.org";

Review Comment:
   The source of this problem is from the APISIX Dashboard project. This is 
because it has updated the CSP (content security policy) feature. This caused 
the site to need to configure some security policy in order to display properly.
   
   What I have done here is to add this rule. In fact, only the last rule is 
really effective and solves this issues.
   
   At the same time, the Dashboard project itself has this problem and I have 
submitted a PR. You can refer to this 
[link](https://github.com/apache/apisix-dashboard/pull/2548).



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

Reply via email to