![](https://img-blog.csdnimg.cn/f6fe88d5f45c42cca0334dbd1e9d6d27.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Nginx
主要记录和“Nginx”相关的内容
苏寅
此去易经年,后悔终无期!
展开
-
解决uWSGI报uwsgi_response_write_body_do() TIMEOUT !!! OSError: write error的问题!
环境: Python(3.8.x)+Flask+uWSGI+Nginx+宝塔报错示例:uwsgi_response_write_body_do() TIMEOUT !!!OSError: write error解决方案修改Nginx子配置文件,禁用临时文件缓冲器location / { include uwsgi_params; uwsgi_pass 127.0.0.1:5000; uwsgi_connect_timeout 600; uwsgi_rea原创 2021-05-19 16:54:04 · 1794 阅读 · 0 评论 -
解决Nginx报504 Gateway Time-out的问题!
环境: Python(3.8.x)+Flask+uWSGI+Nginx+宝塔报错示例:解决步骤修改Nginx子配置文件(站点下的配置文件)location / { # 注意这儿,一般这三个配套修改 uwsgi_connect_timeout 600; # 指定连接到后端uWSGI的超时时间。 uwsgi_read_timeout 600; # 指定接收uWSGI应答的超时时间,完成握手后接收uWSGI应答的超时时间。 uwsgi_send_time原创 2021-05-19 16:40:38 · 905 阅读 · 0 评论