E
E
Evgeny Petrov2021-05-29 16:58:05
Nginx
Evgeny Petrov, 2021-05-29 16:58:05

How to fix Nginx 400 Bad Request error with bad headers?

Good afternoon!

I bought a tracker, I'm setting it up on my server. The tracker sends data in this form:
"&&@140,860262050070205,000,0,,210529131454,A,45.099803,54.874535,10,1.0,1,285,13,617,401|1|0C35|08900420,31,0000001D,04 |019E|0009|0000,1,,3E"

But Nginx does not want to process such a request and throws out "400 Bad Request", which is understandable, there must be a request method GET, POST, HTTP 1.1, etc., but the tracker sends in your format. Now, how to properly configure Nginx to process this request?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Petrov, 2021-05-29
@kazsat

Wait a minute, what's stopping me from running a Node.js server without Nginx and handling all incoming requests?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question