Receive raw data

Richard Stanway r1ch+nginx at teamliquid.net
Mon Oct 24 15:25:08 UTC 2016


Nginx will need a valid header in order to know what to do with the
request. Maybe you should look into the stream module instead.

https://nginx.org/en/docs/stream/ngx_stream_core_module.html

On Mon, Oct 24, 2016 at 2:56 PM, Nattakorn S <dragon_nat at hotmail.com> wrote:

> Dear all
>
>
> 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 fastcgi for webserver and develop
> my application for get message from port 8080.
>
> But nginx always response with error 400 with "client sent invalid method
> while reading client request line".
>
> I know cause my electronic device not have correct header in packet.
>
> So I try add "ignore_invalid_headers off;" in http scope but not work.
>
> I need to bypass raw data to my application.
>
>
> Thank you.
>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20161024/044935d6/attachment.html>


More information about the nginx mailing list