I have an HTTPS server made in JavaScript running on port 443 directly (not the best idea, but whatever).
I would like to add an onion domain to this, how should I go about getting the data from the HTTPS server already running through the onion service? The server returns modified versions of HTML pages, so accessing files directly isn't an option.
Running Ubuntu 20.04.
Thanks in advance :)