We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd2509e commit 8b785bcCopy full SHA for 8b785bc
1 file changed
Applications/Proxy/Source/ocelot.json
@@ -1,21 +1,18 @@
1
{
2
- "GlobalConfiguration": {
3
- "DownstreamScheme": "https",
4
- "DownstreamHostAndPorts": [
5
- {
6
- "Host": "localhost",
7
- "Port": 8080
8
- }
9
- ]
10
- },
11
"Routes": [
12
+ "UpstreamHttpMethod": [ "POST" ],
13
"UpstreamPathTemplate": "/api/v1/identity/authenticate",
14
"DownstreamPathTemplate": "/api/v1/identity/authenticate",
15
- "UpstreamHttpMethod": [
16
- "POST"
+ "DownstreamScheme": "http",
+ "DownstreamHostAndPorts": [
+ {
+ "Host": "localhost",
+ "Port": 5286
+ }
17
],
18
"RateLimitOptions": {
+ "ClientIdHeader": "Client",
19
"EnableRateLimiting": true,
20
"Period": "1s",
21
"Limit": 5
0 commit comments