Nginx with ngx_stream_core_module

Maxim Dounin mdounin at mdounin.ru
Fri Oct 28 11:31:06 UTC 2016


Hello!

On Fri, Oct 28, 2016 at 11:16:03AM +0000, Nattakorn S wrote:

> I have electronic device and I config to send TCP/IP data to my 
> server by raw data no http header.
> 
> My server use nginx with and config for use module 
> ngx_stream_core_module like this
> 
> 
> stream {
>         server {
>                 listen            127.0.0.1:8080;
>                 proxy_pass        127.0.0.1:9090;
>                 proxy_buffer_size 16k;
>         }
> }
> 
> I run fastcgi server at port 9090. How I config nginx for sent 
> transaction from 8080 to fastcgi server at 9090

The stream module is to route raw TCP/IP streams, while what you 
want to do requires converting a raw stream into a FastCGI 
request.  This is not something you can do using the stream 
module.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list