Answer the question
In order to leave comments, you need to log in
Nginx issue with long GET requests?
In general, this NGNIX got me, why am I so unlucky with it, the whole Internet rummaged through, I didn’t find a solution
, and so on the site people use search
and there are such requests long requests with Russian letters of the 139th rifle division
https://tvoyadres.ru/chuvashskaya-respublika /chebo...
as a result I get a 502 error, if a part of the code is shortened, then everything plows.
As I understand it, the problem is with the length of the url, the nginx + apache system used to plow everything on apache.
Answer the question
In order to leave comments, you need to log in
what kind of config do you have
, so we
put it in the http section (it is rather in nginx.conf)
proxy_buffer_size 64k;
proxy_buffers 4 64k;
proxy_busy_buffers_size 64k;
If you do not have access to nginx.conf, put it in the current one - right after the charset
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question