<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div>Thank you Maxim</div>
<div><br>
</div>
<div>I try to use stream module because http module not work with raw incoming TCP/IP.</div>
<div>I always got error 400 and transaction not sent from nginx to my app so I try to use stream module.</div>
<div>My app develop with fcgi So if you mean my app can not accept raw TCP/IP data I'll try to change my app.</div>
<div>Please suggest me how to develop c++ app for receive stream without fastcgi.</div>
<div><br>
</div>
<div>Thank you</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="font-size:75%;color:#575757">ส่งจาก Samsung Mobile</div>
</div>
<br>
<br>
<br>
-------- ข้อความดั้งเดิม --------<br>
จาก: Maxim Dounin <mdounin@mdounin.ru> <br>
วันที่: 28/10/2016 18:31 (GMT+07:00) <br>
ถึง: nginx@nginx.org <br>
เรื่อง: Re: Nginx with ngx_stream_core_module <br>
<br>
<br>
Hello!<br>
<br>
On Fri, Oct 28, 2016 at 11:16:03AM +0000, Nattakorn S wrote:<br>
<br>
> I have electronic device and I config to send TCP/IP data to my <br>
> server by raw data no http header.<br>
> <br>
> My server use nginx with and config for use module <br>
> ngx_stream_core_module like this<br>
> <br>
> <br>
> stream {<br>
> server {<br>
> listen 127.0.0.1:8080;<br>
> proxy_pass 127.0.0.1:9090;<br>
> proxy_buffer_size 16k;<br>
> }<br>
> }<br>
> <br>
> I run fastcgi server at port 9090. How I config nginx for sent <br>
> transaction from 8080 to fastcgi server at 9090<br>
<br>
The stream module is to route raw TCP/IP streams, while what you <br>
want to do requires converting a raw stream into a FastCGI <br>
request. This is not something you can do using the stream <br>
module.<br>
<br>
-- <br>
Maxim Dounin<br>
http://nginx.org/<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
nginx@nginx.org<br>
http://mailman.nginx.org/mailman/listinfo/nginx
</body>
</html>