-
Hi there, I notice on my web app with ingress enabled ('WithExternalHttpEndpoints'), it get's configured by default to the transport type of 'http/1'. I'd like to support http/2, and I'm guessing 'auto' will mean it will automatically negotiate depending on the browser capability (?). Is there a way to set it to 'auto' with aspire? |
Beta Was this translation helpful? Give feedback.
Answered by
davidfowl
Mar 12, 2025
Replies: 1 comment
-
builder.AddProject<Projects.AzureContainerApps_ApiService>("api")
.PublishAsAzureContainerApp((module, app) =>
{
app.Configuration.Ingress.Transport = ContainerAppIngressTransportMethod.Auto;
}); Read the docs to make sure it is truly what you want. Auto requires ALPN which requires https. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mip1983
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Read the docs to make sure it is truly what you want. Auto requires ALPN which requires https.