-
Notifications
You must be signed in to change notification settings - Fork 0
test
upwell edited this page Mar 22, 2013
·
1 revision
- build essential (compiler, library)
- python-dev
- python-pip
sudo python-pipe install uwsgi
sudo python-pip install bootle
sudo yum install nginx
sudo apt-get install nginx
Edit nginx.conf, add the following contents:
location /ws {
include uwsgi_params;
uwsgi_pass 127.0.0.1:3031;
}
Create a configuration file
[uwsgi]
socket = 127.0.0.1:3031
wsgi-file = ws.py
processes = 6
threads = 2
stats = 127.0.0.1:9191
Execute
uwsgi ws.ini