mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-20 11:38:16 +08:00
allowing people to inject functions as custom middleware
This commit is contained in:
@ -1,13 +1,7 @@
|
||||
ReRoutes:
|
||||
- DownstreamTemplate: http://localhost:51876/
|
||||
- DownstreamTemplate: http://localhost:41879/
|
||||
UpstreamTemplate: /
|
||||
UpstreamHttpMethod: Post
|
||||
AuthenticationOptions:
|
||||
Provider: IdentityServer
|
||||
ProviderRootUrl: http://localhost:51888
|
||||
ScopeName: api
|
||||
AdditionalScopes: []
|
||||
ScopeSecret: secret
|
||||
ProxyRequestHeaders:
|
||||
- CustomerId: Claims[CustomerId]
|
||||
|
||||
UpstreamHttpMethod: Get
|
||||
AddHeadersToRequest: {}
|
||||
AddClaimsToRequest: {}
|
||||
RouteClaimsRequirement: {}
|
||||
|
Reference in New Issue
Block a user