【问题标题】:Maintaining Sticky Session in Azure Web App for Linux Container在 Azure Web App for Linux 容器中维护粘性会话
【发布时间】:2020-06-05 22:29:54
【问题描述】:

我有一个用于 Linux 容器的 Azure Web 应用程序,其中 PHP Web 应用程序部署为单个容器。此 Azure Web 应用程序至少使用两个实例运行,并设置为自动缩放。此 Web 应用程序使用粘性会话。 Azure Web App for Linux Container 是否支持它?有什么方法可以在 Azure Web App for Linux Container 中进行设置吗?

【问题讨论】:

  • 还有问题吗?它解决了你的问题吗?请给出答复。
  • 谢谢查尔斯。我正在尝试这个。我现在应该很好。谢谢!
  • 很高兴听到这个消息!

标签: sticky-session azure-web-app-for-containers


【解决方案1】:

当然,Azure Web App for Linux 容器支持粘性会话。但是在Web App中,它调用了ARR affinity,如果你需要粘性会话,开启它即可。此外,它默认启用。您可以查看文档here。如果它被禁用,您可以启用它:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-04-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-06-13
    • 2018-09-05
    • 1970-01-01
    相关资源
    最近更新 更多