How to start React project with HTTPS
问题 I'm trying to start my React project with HTTPS instead of HTTP. I have my project in an Ubuntu Server and I want to try it with HTTPS. I have created a SSL certificate with Certbot for my domain and I want to use it in React. I have tried to modify the file Server.js in node_module/webpack-dev-server/lib/Server.js as follows: // Certificate const privateKey = fs.readFileSync('/etc/letsencrypt/live/adan.appha.es/privkey1.pem', 'utf8'); const certificate = fs.readFileSync('/etc/letsencrypt