Skip to content

Is it possible to configure SSL in arena.config.ts? #728

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

You must be logged in to vote

Hi @cort1c, that's not currently possible if you're using the @colyseus/tools package, as it internally uses http.createServer for the express layer:

let app: express.Express | undefined = express();
let server = http.createServer(app);

To use terminate SSL at the Node.js layer you'd need to use https.createServer() and provide the certificates. Right now you can only do this by not using the @colyseus/tools package and initializing the Colyseus Server manually.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by cort1c
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