diff --git a/ManagementPage/ManagementPage/Program.cs b/ManagementPage/ManagementPage/Program.cs index e3eb8a9..b77c6ba 100644 --- a/ManagementPage/ManagementPage/Program.cs +++ b/ManagementPage/ManagementPage/Program.cs @@ -38,9 +38,10 @@ if (!app.Environment.IsDevelopment()) app.UseExceptionHandler("/Error"); // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. app.UseHsts(); + + app.UseForwardedHeaders(); } -//app.UseHttpsRedirection(); app.UseStaticFiles(); app.UseAuthentication();