[英]How to fix Azure Deployment slots issue for App Service?
I've deployed .Net core web application as App Service on Azure. 我已经将.Net核心Web应用程序部署为Azure上的应用程序服务。 Also I've created test deployment slot that have different connection settings and environment variable.
我还创建了具有不同连接设置和环境变量的测试部署插槽。 But now production slot redirects on test slot and show the data from second slot.
但是现在生产插槽将重定向到测试插槽,并显示第二个插槽中的数据。 How does it possible?
怎么可能呢?
I've checked that in Kudu envoronment variables both slots has correct connection settings and variable. 我检查了Kudu Envoronment变量中两个插槽的连接设置和变量是否正确。
If I stop test slot the production site also down. 如果我停止测试插槽,生产站点也将关闭。 If I delete test slot the production show 404 error.
如果我删除测试插槽,生产将显示404错误。
问题出在“ x-ms-routing-name” =“ test” cookie中,它以某种方式自动设置
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.