I tried to enable HTTP/2 for my Next.js project, but got a 504 error after redeploying. Initially, I thought the issue was related to my codebase or project setup, but then I discovered that HTTP/2 doesn’t seem to work on the App Platform at all.
Steps to reproduce:
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Heya, @littleaquamarineangler
Have you checked our article on how to configyre http2 here:
https://docs.digitalocean.com/products/app-platform/how-to/configure-http2/
Regards
I hit the same problem as well. Can DigitalOcean confirm that the instructions are up-to-date? I, too, received instant 504 responses after setting protocol
to HTTP2
. My service supports HTTP/2.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.