refactor(ocelot.json): DownstreamPathTemplate des Authentifizierungsdienstes konfiguriert, um sign-flow-gen als Verbraucher hinzuzufügen und den Parameter cookie-query optional zu machen.
- Ent-Punkt hinzufügen, um den Standard-Cookie-Parameter falsch zu machen.
This commit is contained in:
parent
dccaaf2feb
commit
d34ba75deb
@ -2,11 +2,11 @@
|
||||
"Routes": [
|
||||
{
|
||||
"DownstreamPathTemplate": "/swagger/{route}",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8088
|
||||
"Port": 7174
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/swagger/{route}",
|
||||
@ -19,11 +19,11 @@
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/swagger/{route1}/{route2}",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8088
|
||||
"Port": 7174
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/swagger/{route1}/{route2}",
|
||||
@ -36,11 +36,11 @@
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/scalar",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8088
|
||||
"Port": 7174
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/scalar",
|
||||
@ -53,11 +53,11 @@
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/scalar/{route}",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8088
|
||||
"Port": 7174
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/scalar/{route}",
|
||||
@ -70,11 +70,11 @@
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/scalar/{route1}/{route2}",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8088
|
||||
"Port": 7174
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/scalar/{route1}/{route2}",
|
||||
@ -86,12 +86,24 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/Auth/work-flow?cookie=false",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamPathTemplate": "/api/Auth/sign-flow-gen?cookie={cookie}",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8088
|
||||
"Port": 7192
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/Auth?cookie={cookie}",
|
||||
"UpstreamHttpMethod": [ "Post" ]
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/Auth/sign-flow-gen?cookie=false",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 7192
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/Auth",
|
||||
@ -99,11 +111,11 @@
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/Auth/check",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8088
|
||||
"Port": 7174
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/Auth/check",
|
||||
@ -111,11 +123,11 @@
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/{route}",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8088
|
||||
"Port": 7174
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/{route}",
|
||||
@ -128,11 +140,11 @@
|
||||
},
|
||||
{
|
||||
"DownstreamPathTemplate": "/api/{route}/{id}",
|
||||
"DownstreamScheme": "http",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "localhost",
|
||||
"Port": 8088
|
||||
"Port": 7174
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/api/{route}{id}",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user