R
Railway14mo ago
Job

How to enable HTTP2 with Fastify?

Hey, I would like to enable HTTP2 with Fastify but I need to get the path to the ssl certificate according to the docs: https://fastify.dev/docs/latest/Reference/HTTP2 where can I find this? Regards, Job
5 Replies
Percy
Percy14mo ago
Project ID: N/A
Job
JobOP14mo ago
N/A
Brody
Brody14mo ago
railways public domains already support http2 there is nothing you need to do on your side of things but if you wanted to do http2 for internal stuff, you would use h2c https://fastify.dev/docs/latest/Reference/HTTP2/#plain-or-insecure
Job
JobOP14mo ago
Thanks!
Brody
Brody14mo ago
I'd like to note that if you opted to use h2c, railway's proxy layer would still talk to your app with http 1.1, you would only benefit from h2c if you did service to service communication over the private network
Want results from more Discord servers?
Add your server