We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8277bda commit fac208aCopy full SHA for fac208a
1 file changed
MoveIT/Program.cs
@@ -53,10 +53,10 @@
53
if (!app.Environment.IsDevelopment())
54
{
55
app.UseExceptionHandler("/Error", createScopeForErrors: true);
56
- app.UseHsts();
+ // HSTS / HttpsRedirection intentionally disabled: container exposes HTTP only on 8080.
57
+ // Re-enable if/when running behind a reverse proxy that terminates TLS.
58
}
59
app.UseStatusCodePagesWithReExecute("/not-found", createScopeForStatusCodePages: true);
-app.UseHttpsRedirection();
60
61
app.UseAntiforgery();
62
0 commit comments