Sinet.WebProxy/appsettings.json

22 lines
380 B
JSON
Raw Normal View History

2023-08-29 14:49:21 +08:00
{
"ReverseProxy": {
"Routes": {
"route1": {
"ClusterId": "yarp",
"Match": {
"Path": "{**catch-all}"
}
}
},
"Clusters": {
"yarp": {
"LoadBalancingPolicy": "RoundRobin",
"Destinations": {
"openai": {
"Address": "https://api.openai.com/"
}
}
}
}
}
}