Skip to content

Instantly share code, notes, and snippets.

@allanchua101
Last active September 16, 2018 15:19
Show Gist options
  • Save allanchua101/7129faf348a4a6ccb21ba3199d54be92 to your computer and use it in GitHub Desktop.
Save allanchua101/7129faf348a4a6ccb21ba3199d54be92 to your computer and use it in GitHub Desktop.
Update ocelot.json file by replacing downstream service host values with http://youriphere.
{
"DownstreamPathTemplate": "/api/user/",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "demo.api.gateway",
"Port": 52792
}
],
"UpstreamPathTemplate": "/api/user/",
"UpstreamHttpMethod": [ "Get" ]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment