Skip to content

HTTPS server with Colyseus instead of SSL Termination #810

Answered by endel
iratefun asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @iratefun, welcome!

You may still provide your own server option, but now from the Transport layer. There are 2 WebSocket transports available by default: using ws or uWebSockets.js: https://docs.colyseus.io/server/transport/#default-websocket-transport-via-ws

If you'd like to provide SSL/TLS certificates directly on the Node.js layer you could do so by providing options for the Transport implementation.

I'm not sure if it's possible to reload the certificates without restarting the Node.js processes this way, though. When using NGINX I know this is possible. Would appreciate if you have any idea about this!

Kind regards,
Endel

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@iratefun
Comment options

@endel
Comment options

@iratefun
Comment options

Answer selected by iratefun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants