-->

400 Bad Request Request Header Or Cookie Too Large

2019-08-20 19:45发布

问题:

How should i solve this error on Real NGINX Server? When i was developing on local there was no error show with that. And it's only happen on Mobile and Tablet. Not happened on PC Browser. I searched in google and stackoverflow too but the problem solving is only one way. I've to give my project manager to different solving methods at least 2 - 3 methods. Because Server providers won't allow to config the NGINX config file so we can't use this method. Currently I found below method. Is there any other method to solve this error like adding some codes or something that we can use without server providers?

server {
   # ...
   large_client_header_buffers 4 32k;
   # ...
}

Developing Platforms : NGINX, Cakephp 3.x