When the requested parameter is too long, nginx will report an error
We only need to add two lines to the http of nginx.confg
client_header_buffer_size 512k;
large_client_header_buffers 4 512k;
It is found that the request will report an error again
java.lang.IllegalArgumentException: Request header is too large
Then add max-http-header-size to the springboot configuration file
server:
max-http-header-size: 102400