Edit uwsgi and nginx use tcp socket

This commit is contained in:
Daniel Gräber 2015-02-19 16:39:58 +01:00
parent 5a29d2742d
commit aea85f807f
2 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,8 @@ server {
root /vagrant/isso/demo;
location / {
uwsgi_pass unix:///run/uwsgi/app/isso/socket;
# uwsgi_pass unix:///run/uwsgi/app/isso/socket;
uwsgi_pass 127.0.0.1:8080;
include uwsgi_params;
}
}

View File

@ -6,6 +6,8 @@ chdir = /vagrant
uid = root
gid = root
socket = :8080
master = true
processes = 4
cache2 = name=hash,items=10240,blocksize=32