From 187cb78180822328df34bd783ab3879100966772 Mon Sep 17 00:00:00 2001 From: Sidney Andrews Date: Wed, 23 Oct 2024 10:20:39 -0400 Subject: [PATCH 1/2] Switch http transport to `auto` --- infra/app/web.bicep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/app/web.bicep b/infra/app/web.bicep index 7de741d..1d8e71a 100644 --- a/infra/app/web.bicep +++ b/infra/app/web.bicep @@ -45,7 +45,7 @@ module containerAppsApp 'br/public:avm/res/app/container-app:0.9.0' = { tags: union(tags, { 'azd-service-name': serviceTag }) ingressTargetPort: 8080 ingressExternal: true - ingressTransport: 'http' + ingressTransport: 'auto' corsPolicy: { allowCredentials: true allowedOrigins: [ From a9404f7baeb94d2f4ee84ff6c07afcbddc10fb39 Mon Sep 17 00:00:00 2001 From: Sidney Andrews Date: Wed, 23 Oct 2024 11:16:08 -0400 Subject: [PATCH 2/2] Add session affinity --- infra/app/web.bicep | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/app/web.bicep b/infra/app/web.bicep index 1d8e71a..7e697c2 100644 --- a/infra/app/web.bicep +++ b/infra/app/web.bicep @@ -46,6 +46,7 @@ module containerAppsApp 'br/public:avm/res/app/container-app:0.9.0' = { ingressTargetPort: 8080 ingressExternal: true ingressTransport: 'auto' + stickySessionsAffinity: 'sticky' corsPolicy: { allowCredentials: true allowedOrigins: [