Created
October 5, 2020 07:38
-
-
Save rahulsahay19/9975e630ceb65493d0b3894f34802ec5 to your computer and use it in GitHub Desktop.
ocelot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Routes": [ | |
{ | |
"DownstreamPathTemplate": "/api/v1/movies", | |
"DownstreamScheme": "https", | |
"DownstreamHostAndPorts": [ | |
{ | |
"Host": "localhost", | |
"Port": 5001 | |
} | |
], | |
"UpstreamPathTemplate": "/movies", | |
"UpstreamHttpMethod": [ "Get" ], | |
"AuthenticationOptions": { | |
"AuthenticationProviderKey": "Bearer", | |
"AllowedScopes": [] | |
} | |
}, | |
{ | |
"DownstreamPathTemplate": "/api/v1/series", | |
"DownstreamScheme": "https", | |
"DownstreamHostAndPorts": [ | |
{ | |
"Host": "localhost", | |
"Port": 5003 | |
} | |
], | |
"UpstreamPathTemplate": "/series", | |
"UpstreamHttpMethod": [ "Get" ], | |
"AuthenticationOptions": { | |
"AuthenticationProviderKey": "Bearer", | |
"AllowedScopes": [] | |
} | |
} | |
], | |
"GlobalConfiguration": { | |
"BaseUrl": "https://localhost:5006" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment