How to redirect HTTPS traffic to a proxy on localhost:443?

I’m building an HTTP server in C++ using the Cesanta Mongoose c++ networking library. Essentially I’m trying to redirect traffic from my web browser to a proxy on the localhost. I recently added support for HTTPS by purchasing a certificate and domain and following the instructions to enable ssl with mongoose (https://cesanta.com/docs/http/ssl.html). The server is…

DigitalOcean Ubuntu droplet not serving port 80

I have a simple Python server on a DigitalOcean Ubuntu droplet that should serve the index.html file in the /dist folder: port = 8000 os.chdir(os.path.join(os.path.dirname(__file__), ‘dist’)) Handler = http.server.SimpleHTTPRequestHandler httpd = socketserver.TCPServer((”, port), Handler) print(‘Serving at port ‘, port) httpd.serve_forever() I have no cloud firewalls running on this box. I ran ‘sudo ufw allow 80/tcp’…