3 ms·
Yes. It’s simple, fast, and durable. I just wrote a proxy from scratch that runs HTTP over WebSockets with both TCP and TLS. The code is super tiny without depe
by austin-cheney 2y ago
Yes. It’s simple, fast, and durable. I just wrote a proxy from scratch that runs HTTP over WebSockets with both TCP and TLS. The code is super tiny without dependencies. Support for vanity domains in my new proxy just consists of mapping the domain name to a port number in a config file.
That replaces Apache with the insanity of mod libraries and virtual host configurations. Redirecting WebSocket traffic using virtual hosts was a real pain to figure out.