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;
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:
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.
Check mysql restrictions