Edit uwsgi and nginx use tcp socket
This commit is contained in:
parent
5a29d2742d
commit
aea85f807f
@ -6,7 +6,8 @@ server {
|
|||||||
root /vagrant/isso/demo;
|
root /vagrant/isso/demo;
|
||||||
|
|
||||||
location / {
|
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;
|
include uwsgi_params;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -6,6 +6,8 @@ chdir = /vagrant
|
|||||||
uid = root
|
uid = root
|
||||||
gid = root
|
gid = root
|
||||||
|
|
||||||
|
socket = :8080
|
||||||
|
|
||||||
master = true
|
master = true
|
||||||
processes = 4
|
processes = 4
|
||||||
cache2 = name=hash,items=10240,blocksize=32
|
cache2 = name=hash,items=10240,blocksize=32
|
||||||
|
Loading…
Reference in New Issue
Block a user