网关和服务发现
This commit is contained in:
1 parent
cea1278b71
commit
6f4a338bb4
14 files changed
+190
-52
No files matched your search
@@ -5,5 +5,29 @@
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
"AllowedHosts": "*",
|
||||
"ReverseProxy": {
|
||||
"Routes": {
|
||||
"testserviceRoute": {
|
||||
"ClusterId": "testServiceCluster",
|
||||
"Match": {
|
||||
"Path": "testservice/{**remainder}"
|
||||
},
|
||||
"Transforms": [
|
||||
{
|
||||
"PathPattern": "{**remainder}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Clusters": {
|
||||
"testServiceCluster": {
|
||||
"Destinations": {
|
||||
"testServiceCluster/destination1": {
|
||||
"Address": "http://identityservice"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user