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
https://nginx.org/en/docs/stream/ngx_stream_core_module.html
/en/