Is there something like "UpstreamScheme":"wss"
?
#1965
-
I'm using websocket, but I can only access the http port through ws, I can't connect to the https port of wss. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Read it carefully!
Sure, there is no such property in Global Configuration or Routing! |
Beta Was this translation helpful? Give feedback.
Read it carefully!
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 usingwss
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
towss
direction. It should work.