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
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!
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.
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.
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!
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:
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.
Hope that helps!
- Bobby.
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