17 Star 36 Fork 21

eoolife/flask.scalable_rest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
uwsgi.ini 740 Bytes
一键复制 编辑 原始数据 按行查看 历史
daqing 提交于 2015-09-18 16:23 +08:00 . uwsgi + nginx config here
[uwsgi]
; http://cramer.io/2013/06/27/serving-python-web-applications/
; command run: uwsgi --socket :5000 --buffer-size 32768 --file /opt/static_server.py -M -p 4
; plugin = python
chmod-socket = 666
socket = /tmp/uwsgi_flask_scalarest.sock
chdir = /home/daqing/workspace/python/flask.scalable_rest
wsgi = bootstrap
callable = application
http-socket = 0.0.0.0:5000
enable-threads = true
disable-logging = true
master = true
catch-exceptions = false
post-buffering = 8192
harakiri = 30
harakiri-verbose = true
processes = 8
daemonize = /tmp/uwsgi.log
buffer-size = 32768
vacuum = true
optimize = 2
; www-data uid/gid
uid = 1
gid = 1
stats = $(HOSTNAME):5033
; 开发期间可开启该选项,自动加载py文件
; py-autoreload = 2
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/eoolife/flask.scalable_rest.git
git@gitee.com:eoolife/flask.scalable_rest.git
eoolife
flask.scalable_rest
flask.scalable_rest
master

搜索帮助