TCP streaming over Nginx
Solution useful for all TCP-based protocols like
- Gopher
- Gemini
- Spartan
- NEX
- NPS
Last one does not require TLS, where configuration much simpler
stream {
server {
listen 1915;
proxy_pass 127.0.0.1:1915;
}
}
For encrypted connections, follow documentation