Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

133
Views
How to enable fastify's http2 in Digital Ocean app platform

I'm trying to figure out how to enable http2 for my rest api. I uses fastify as its server and according to their documentation secure http2 can be enabled in the following way

https://www.fastify.io/docs/latest/HTTP2

The issue I am facing now is that this api is deployed to https://www.digitalocean.com/products/app-platform on multiple server instances (for reliability and scalability)

If I understand correctly trafic is routed to these instances through cloudflare, its set up for you out of the box. I assume cloudflare also manages all ssl certificates in this case.

Thus my question, how can I specify certificate files to fastify (those .key and .cert ones) in this setup? I don't have access to cloudflare account as it is managed by Digital Ocean.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!