You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/06/02 09:12:48 UTC

[GitHub] [apisix] suifff commented on issue #4358: request help: apisix cannot use CORS plug-in after upgrading from 2.0 to 2.5

suifff commented on issue #4358:
URL: https://github.com/apache/apisix/issues/4358#issuecomment-852846998


   > What is your configure data in the etcd?
   
   @spacewander 通过etcdctl get --prefix /获取的值解析如下
   ~~~
   	"plugins": {
   		"cors": {
   			"allow_credential": true,
   			"allow_headers": "*",
   			"allow_methods": "*",
   			"allow_origins": "*",
   			"allow_origins_by_regex": ["*"],
   			"disable": false,
   			"expose_headers": "*",
   			"max_age": 5
   		}
   	},
   	"upstream_id": "345046292138819799",
   	"status": 1
   }
   ~~~


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org