网关和服务发现

This commit is contained in:
administrator committed 2024-04-20 14:33:06 +08:00
1 parent cea1278b71
commit 6f4a338bb4
14 files changed
+190 -52

No files matched your search

+26 -2
View File
@@ -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"
}
}
}
}
}
}