Browse Source
Merge pull request #1533 from colinin/custom-proxy
feat: Adjust the proxy middleware order
pull/1542/head
yx lin
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
2 deletions
-
aspnet-core/services/LY.MicroService.Applications.Single/Program.cs
|
|
|
@ -41,10 +41,9 @@ var app = builder.Build(); |
|
|
|
|
|
|
|
await app.InitializeApplicationAsync(); |
|
|
|
|
|
|
|
app.UseForwardedHeaders(); |
|
|
|
app.UseMapRequestLocalization(); |
|
|
|
|
|
|
|
app.UseCookiePolicy(); |
|
|
|
app.UseForwardedHeaders(); |
|
|
|
app.UseAbpSecurityHeaders(); |
|
|
|
if (app.Environment.IsDevelopment()) |
|
|
|
{ |
|
|
|
|