Home  >  Article  >  Backend Development  >  javascript - The content returned by ajax request to nginx server is truncated?

javascript - The content returned by ajax request to nginx server is truncated?

WBOY
WBOYOriginal
2016-09-27 14:18:101251browse

There is no problem under apache, so it feels like it is a configuration problem with nginx. However, this problem does not necessarily occur. After it occurs, ctrl+f5 refresh will be normal, and then it will occur accidentally again

Reply content:

There is no problem under apache, so it feels like it is a configuration problem with nginx. However, this problem does not necessarily occur. After it occurs, ctrl+f5 refresh will be normal, and then it will appear accidentally again

Generally, the cookie length exceeds the range and the cookie length needs to be reduced,

Or modify the nginx configuration,
Increase the client request header buffer size,
client_header_buffer_size 32k
large_client_header_buffers 4 128k

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn