web - nginx serves, the front-end text data exceeds 300 words, cannot be saved, and the server reports a 500 error!
黄舟
黄舟 2017-05-16 17:12:01
0
6
531

nginx is doing services. The front-end text data exceeds 300 words and cannot be saved. The server reports a 500 error. Data smaller than 300 can be saved normally. Is there something wrong with the configuration? Please ask all experienced drivers

nginx configuration has been set

proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host            $http_host;
proxy_buffer_size 1024k;
proxy_buffers 32 1024k;
proxy_busy_buffers_size 1024k;
黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(6)
为情所困
2016/11/29 17:32:41 [crit] 25902#0: *11761 open() "/var/lib/nginx/tmp/client_body/0000000655" failed (13: Permission denied), client: 1.86.27.55, server: test.yitushijie.com, request: "POST /article/add HTTP/1.1", host: "test.yitushijie.com", referrer: "http://test.yitushijie.com/article/add"

According to this log
The problem is solved
Go to the /var/lib directory to check the permissions of the nginx directory:
Execute the command:

chmod -R 775 nginx

Problem solved.
Thank you everyone

刘奇

500 is the code error. First take a look at the code to see if there is an error in the code processing the request data. Or post the 500 error message.

为情所困

Please take a look at the error log, otherwise it will be difficult to determine. If it is determined that it is a word count problem, take a look at what type of text your database uses to save text. It may be that the length is not enough to save it.

仅有的幸福

You can’t memorize nginx. Please post the code and see. 500 is usually a program error.

小葫芦

It should be restricted by your php-fpm configuration. It is not nginx configuration.

Ty80

Check mysql restrictions

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template