Level 20
What is the avg size of the images it handles?
I don't know what's happeing here but my nginx is serving wrong images and only cut in the middle.... well... actually a little less than that.
server {
listen 80;
server_name test.com;
root /var/www/public;
location / {
index index.php;
try_files $uri $uri/ /index.php?$query_string;
}
error_page 404 /index.php;
location ~ \.php$ {
include fastcgi_params;
fastcgi_index index.php;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
I kinda fix the problem... I set gzip off and restarted the server and it worked!. I set gzip on back and it seems it's working ok now.
I read this: http://tech.blog.aknin.name/2011/11/04/nginxgzip-module-might-silently-corrupt-data-upon-backend-failure/
Please or to participate in this conversation.