Attempt to use ForwardedHeadersOptions
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Simon 2021-10-03 02:42:03 +01:00
parent a9e1baf7c3
commit afbcf4ae11
1 changed files with 2 additions and 1 deletions

View File

@ -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();