Answer the question
In order to leave comments, you need to log in
How to increase header length in nginx?
I noticed that with a large number of GET parameters, nginx crashes with a 502 error. Can you please tell me if it is possible to increase the limit on the length of the request headers, and if so, what parameters in the configuration need to be edited?
Answer the question
In order to leave comments, you need to log in
Thank you all for your attention, I misdiagnosed the problem. It turned out that my nginx crashed not because I sent a lot of GET parameters, but because I returned too large headers in my php script. In general, it turns out it's a bad idea to pass too much information in headers.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question