The application forced HTTPS redirection and secure cookies even in HTTP-only mode (Docker deployment), preventing plain HTTP connections. Make UseHttpsRedirection() conditional on ASPNETCORE_URLS and change CookieSecurePolicy from Always to SameAsRequest.