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
|
"Port": 9090
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/swagger/auth/{route}",
|
"UpstreamPathTemplate": "/swagger/{route}",
|
||||||
"UpstreamHttpMethod": [
|
"UpstreamHttpMethod": [
|
||||||
"Get"
|
"Get"
|
||||||
]
|
]
|
||||||
@ -23,13 +23,13 @@
|
|||||||
"Port": 8088
|
"Port": 8088
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/swagger/{route}",
|
"UpstreamPathTemplate": "/swagger/auth/{route}",
|
||||||
"UpstreamHttpMethod": [
|
"UpstreamHttpMethod": [
|
||||||
"Get"
|
"Get"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"DownstreamPathTemplate": "/api/Auth/{route}",
|
"DownstreamPathTemplate": "/api/Auth/work-flow?cookie=false",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
{
|
{
|
||||||
@ -37,14 +37,11 @@
|
|||||||
"Port": 8088
|
"Port": 8088
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/api/Auth/{route}",
|
"UpstreamPathTemplate": "/api/Auth",
|
||||||
"UpstreamHttpMethod": [
|
"UpstreamHttpMethod": [ "Post" ]
|
||||||
"Get",
|
|
||||||
"Post"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"DownstreamPathTemplate": "/api/Auth/login/{id}",
|
"DownstreamPathTemplate": "/api/Auth/check",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
{
|
{
|
||||||
@ -52,10 +49,8 @@
|
|||||||
"Port": 8088
|
"Port": 8088
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/api/Auth/login/{id}",
|
"UpstreamPathTemplate": "/api/Auth/check",
|
||||||
"UpstreamHttpMethod": [
|
"UpstreamHttpMethod": [ "Post" ]
|
||||||
"Post"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"DownstreamPathTemplate": "/api/{route}",
|
"DownstreamPathTemplate": "/api/{route}",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user