How to redirect http to https on app platform
Hello fellow developers,
I’m using app platform to host a static website, and while my domain is registered on godaddy, I’ve pointed the nameservers to DO and everything is working fine with my domain. The problem happens when I enter the domain using http instead of https. How to redirect all http requests to https?
For reference, my domain is twowords.design.
According to this question, it’s not possible yet: https://www.digitalocean.com/community/questions/how-to-redirect-301-on-the-digital-ocean-apps-platform
However, it says here that http should automatically be redirected to https: https://www.digitalocean.com/community/questions/is-possible-disable-http-in-digital-app-platform-static-site
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.×