Skip to content

Commit

Permalink
Update Startup.cs (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhyxionNL authored Oct 2, 2020
1 parent f4ba244 commit e219e2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Exceptionless.Web/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public void ConfigureServices(IServiceCollection services) {
services.Configure<ForwardedHeadersOptions>(options => {
options.ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto;
options.RequireHeaderSymmetry = false;
options.KnownNetworks.Clear();
options.KnownProxies.Clear();
});

services.AddControllers(o => {
Expand Down

0 comments on commit e219e2a

Please sign in to comment.