I have a React app and two Node Express (REST API) processes running under http (Apache2) on a DigitalOcean Ubuntu 20.04 Droplet. The React app runs on port 80 while the Node Express apps run on port 4000 and 4001 respectively.
All instances of http
have been replaced with https
in my code. However, ports 4000 and 4001 are not secure ports like 443 is. I have Certbot installed with no errors.
What is the recommended way to 'migrate' from http to secure https in this case? Will I need to set up a reverse proxy on the Apache2 web server?