If you get net::ERR_CONTENT_LENGTH_MISMATCH due to Nginx , one of the reasons could be there is no diskspace for nginx logs.
You can check the disk space using the command "df -i"
so we need to mount the logs in a different location.
We can change the configuration of Nginx Log location in 'nginx.conf' located at "/etc/nginx" file by updating the fields error_log and access_log.
You can check the disk space using the command "df -i"
so we need to mount the logs in a different location.
We can change the configuration of Nginx Log location in 'nginx.conf' located at "/etc/nginx" file by updating the fields error_log and access_log.
Check the user nginx is working with and chown -R user:user /var/cache/nginx .
And also chmod -R +x /var/cache/nginx
Also
set proxy_buffering to off in nginx
location /some/path/ { proxy_buffering off; proxy_pass http://localhost:8000; }

No comments:
Post a Comment