mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-09-18 10:05:34 +08:00
wip
This commit is contained in:
24
samples/OcelotOpenTracing/ocelot.json
Normal file
24
samples/OcelotOpenTracing/ocelot.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"ReRoutes": [
|
||||
{
|
||||
"HttpHandlerOptions": {
|
||||
"UseTracing": true
|
||||
},
|
||||
"DownstreamPathTemplate": "/todos/{id}",
|
||||
"DownstreamScheme": "https",
|
||||
"DownstreamHostAndPorts": [
|
||||
{
|
||||
"Host": "jsonplaceholder.typicode.com",
|
||||
"Port": 443
|
||||
}
|
||||
],
|
||||
"UpstreamPathTemplate": "/posts/{id}",
|
||||
"UpstreamHttpMethod": [
|
||||
"Get"
|
||||
]
|
||||
}
|
||||
],
|
||||
"GlobalConfiguration": {
|
||||
"BaseUrl": "https://localhost:5000"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user