Welcome! Log In Create A New Profile

Advanced

Re: Nginx with ngx_stream_core_module

Maxim Dounin
October 28, 2016 07:32AM
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/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx with ngx_stream_core_module

Nattakorn S October 28, 2016 07:18AM

Re: Nginx with ngx_stream_core_module

Maxim Dounin October 28, 2016 07:32AM

ตอบกลับ: Re: Nginx with ngx_stream_core_module

Nattakorn S October 28, 2016 08:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 184
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready