refactor(ocelet.json): konfiguriert
This commit is contained in:
parent
174338af5d
commit
e1bd477753
21
ocelot.json
21
ocelot.json
@ -9,7 +9,7 @@
|
||||
"Port": 9090
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/swagger/auth/{route}",
|
||||
"UpstreamPathTemplate": "/swagger/{route}",
|
||||
"UpstreamHttpMethod": [
|
||||
"Get"
|
||||
]
|
||||
@ -23,13 +23,13 @@
|
||||
"Port": 8088
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/swagger/{route}",
|
||||
"UpstreamPathTemplate": "/swagger/auth/{route}",
|
||||
"UpstreamHttpMethod": [
|
||||
"Get"
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/Auth/{route}",
|
||||
"DownstreamPathTemplate": "/api/Auth/work-flow?cookie=false",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
@ -37,14 +37,11 @@
|
||||
"Port": 8088
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/Auth/{route}",
|
||||
"UpstreamHttpMethod": [
|
||||
"Get",
|
||||
"Post"
|
||||
]
|
||||
"UpstreamPathTemplate": "/api/Auth",
|
||||
"UpstreamHttpMethod": [ "Post" ]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/Auth/login/{id}",
|
||||
"DownstreamPathTemplate": "/api/Auth/check",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
@ -52,10 +49,8 @@
|
||||
"Port": 8088
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/Auth/login/{id}",
|
||||
"UpstreamHttpMethod": [
|
||||
"Post"
|
||||
]
|
||||
"UpstreamPathTemplate": "/api/Auth/check",
|
||||
"UpstreamHttpMethod": [ "Post" ]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/{route}",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user