简体   繁体   English

API Manager 4.1.0 accessControlAllowOrigins 的动态值

[英]API Manager 4.1.0 Dynamic value for accessControlAllowOrigins

Is it possible to use the params.yml file to define different accessControlAllowOrigins for environments as well as endpoints?是否可以使用 params.yml 文件为环境和端点定义不同的 accessControlAllowOrigins?
I want to define this for apis and api-products.我想为 apis 和 api-products 定义这个。

Thanks谢谢

At the moment CORs configs are not supported in the params.yaml.目前 CORs 配置在 params.yaml 中不受支持。 You can find the supported list here - https://apim.docs.wso2.com/en/latest/install-and-setup/setup/api-controller/advanced-topics/configuring-environment-specific-parameters/#defining-the-parameters-file-for-an-api您可以在此处找到支持的列表 - https://apim.docs.wso2.com/en/latest/install-and-setup/setup/api-controller/advanced-topics/configuring-environment-specific-parameters/#defining -API 的参数文件

You can define backend service endpoints in the params.yaml您可以在 params.yaml 中定义后端服务端点

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 WSO2 API Manager 4.1.0 - 动态身份验证中使用基本身份验证公开 API - Expose API with Basic Authentication in WSO2 API Manager 4.1.0 - Dynamic Authentication API Manager 4.1.0 通过 apictl 导入 CAR - API Manager 4.1.0 import CAR by apictl 在 wso2 api manager 4.1.0 发送 POST 请求 - send POST request in wso2 api manager 4.1.0 WSO2 API 管理器 4.1.0 - JSON2XML 策略不起作用 - WSO2 API Manager 4.1.0 - JSON2XML policy not working 设计徽标和 Header 在 WSO2 API Manager 4.1.0 中不起作用 - Styling the Logo and Header not working in WSO2 API Manager 4.1.0 WSO2 API 管理器 4.1.0 集群双活节点似乎运行不正常 - WSO2 API manager 4.1.0 clustering active-active nodes seems not working well WSO2 API Manager(wso2am-4.1.0) - 为开发者门户和发布者定制登录页面 - WSO2 API Manager(wso2am-4.1.0) - Customize Login Pages for Developer Portal and Publisher WSO2 API 管理器(wso2am-4.1.0) - 如何指向已经存在的 JDBC 用户存储? - WSO2 API Manager(wso2am-4.1.0) - How to Point an Already Existing JDBC Userstore? WSO2 API Manager(wso2am-4.1.0) - 如何让 carbon 控制台显示应用程序名称? - WSO2 API Manager(wso2am-4.1.0) - How to make the carbon console show application names? WSO2 API 管理器 4.1.0 - 获取失败。 可能原因: CORS 网络故障 URL CORS请求问题scheme must be "http" or "https" - WSO2 API Manager 4.1.0 - Failed to fetch. Possible Reasons: CORS Network Failure URL scheme must be "http" or "https" for CORS request issue
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM