Question

Use port 80 with App Platform

I am in the process of setting up App Platform.

I need to enable accessing my app via port 80 as well as port 443 (to support TLS and non-TLS traffic). I cannot have requests on port 80 redirect to 443… this is not an option for me.

Is this possible to setup using the appspec? Or is only HTTPS supported?

Thanks


Submit an answer


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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

KFSys
Site Moderator
Site Moderator badge
January 28, 2025

Heya,

The DigitalOcean App Platform does not currently provide a direct option in the UI to disable HTTPS or the automatic HTTP to HTTPS redirects. This is part of DigitalOcean’s security-first approach, ensuring that all communications are encrypted by default.

The best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.

https://ideas.digitalocean.com/

For the time being, what you could do is deploy your app on a Droplet instead where you would have full control over the server and be able to make any configuration changes as needed.

Hope that helps!

Bobby Iliev
Site Moderator
Site Moderator badge
January 28, 2025

Hi there,

The DigitalOcean App Platform, only HTTPS traffic on port 443 is supported by default. App Platform automatically redirects HTTP (port 80) traffic to HTTPS for security purposes, and there’s no built-in way to disable this redirect.

If you absolutely need both HTTP (port 80) and HTTPS (port 443) without redirection, you may need to consider deploying your app on a Droplet where you can fully control the Nginx or Apache configuration to handle both ports:

https://marketplace.digitalocean.com/apps/nginx

The best thing to do to get your voice heard regarding this would be to head over to the DigitalOCean Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.

https://ideas.digitalocean.com/

Hope that helps!

- Bobby.

alexdo
Site Moderator
Site Moderator badge
January 30, 2025

Heya, @giyoda

The pp Platform automatically redirects HTTP (port 80) traffic to HTTPS for security purposes, and there’s no built-in way to disable this redirect.

Regards

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.