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_...@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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to