uwsgi部署python web项目的时候可能会出现标题报错:
解决思路,看日志:
[root@lovecat uswgi]# uwsgi --http :9090 --wsgi-file /app/uwsgi/start:app
*** Starting uWSGI 2.0.18 (64bit) on [Thu Oct 10 02:28:27 2019] ***
compiled with version: 4.8.5 20150623 (Red Hat 4.8.5-36) on 23 September 2019 03:04:11
os: Linux-3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017
nodename: lovecat.liu.com
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /app/uswgi
detected binary path: /usr/bin/uwsgi
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
*** WARNING: you are running uWSGI without its master process manager ***
your processes number limit is 15086
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with -