![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
django
leventse
这个人还不机智,所以什么都不写。
展开
-
django upstream prematurely closed connection while reading response header from up
1. 环境django + uwsgi + Nginx2. 解决方式1.必须要在uwsgi.ini中设置“limit-as”,该值是每个uwsgi进程占用的虚拟内存的最大限制。 2.检查是否设置了proxy_http_version 1.1;proxy_set_header Connection "";Nginx默认使用HTTP1.0从后端获取响应返还给客户端,但是HTTP原创 2018-01-23 12:54:04 · 13991 阅读 · 1 评论 -
pip install uwsgi undefined reference to `pcre_free_study'
pip3安装uwsgi时遇到了一个令人头秃的问题: sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) core/routing.o: In function `uwsgi_route_condition_regexp': routing.c:(.text+0x365c): undefine...原创 2018-04-25 11:40:43 · 1010 阅读 · 2 评论