goodrobots / maverick-discovery

Service Discovery system
MIT License
1 stars 0 forks source link

WSS is required if -web is served over HTTPS #2

Closed SamuelDudley closed 4 years ago

SamuelDudley commented 4 years ago

image

fnoop commented 4 years ago

Hmm, this is a problem. I guess we can make -discovery listen to a second fixed port with https, if certs available?

SamuelDudley commented 4 years ago

Yep. We can start a second server on another port from the same application.

SamuelDudley commented 4 years ago

https://github.com/tornadoweb/tornado/issues/523

The same codebase needs to attach two Tornado applications to the same ioloop. These applications are then served on two ports but share the same websocket handlers.