Skip to content

Is there something like "UpstreamScheme":"wss"? #1965

Answered by raman-m
tp1415926535 asked this question in Q&A
Discussion options

You must be logged in to vote

Read it carefully!


And there doesn't seem to be an UpstreamScheme configuration similar to DownstreamScheme.

Sure, there is no such property in Global Configuration or Routing!
Upstream scheme (protocol) is managed by your Ocelot app hosting config. See GlobalConfiguration.BaseUrl property.
You can host Ocelot app as any ASP.NET app using https scheme only. If you would like to host using wss then I'm not sure what will happen. We don't support your upstream scenario. It could be a new feature.
But we support https to wss direction. It should work.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tp1415926535
Comment options

Answer selected by tp1415926535
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Websockets Ocelot feature: Websockets Configuration Ocelot feature: Configuration Routing Ocelot feature: Routing
2 participants