0
错误502网关错误当我尝试在模板大图(更多然后2000x2000px)与SORL-缩略图显现。SORL-缩略图错误502大的图像
没有错,如果不带缩略图只是图片,如果小于20000x2000px
负载页面已经试图改变nginx的配置这样的...:
server {
proxy_connect_timeout 1500;
proxy_send_timeout 1500;
proxy_read_timeout 1500;
send_timeout 1500;
location/{
fastcgi_read_timeout 1500;
}
}
使用模板常规代码一样
{% thumbnail ph.image "500x500" crop="center" format="PNG" as im %}
<img src="{{ im.url }}"/>
{% endthumbnail %}
任何建议请问?
只为谷歌搜索 Django的Python的SORL-缩略图缩略图502网关错误大的图像
我f你正在使用gunicorn尝试添加到conf文件 'timeout = 600 keepalive = 600' http://docs.gunicorn.org/en/latest/settings.html#timeout 更新主管也:'supervisorctl update ' – alfredo138923
@ alfredo138923 我加了--timeout 600 --keep-alive 600,没有任何反应。 是supervisorctl nessesary? –