Use TCP/IP sockets instead of UNIX sockets for uWSGI
The UNIX sockets sometimes timed out, so this is a test to see if TCP/IP sockets work better.
This commit is contained in:
@@ -4,7 +4,7 @@ server {
|
||||
server_name mydata.blender.org mydata.local mydata.sintel.local;
|
||||
|
||||
location / {
|
||||
uwsgi_pass unix:/var/www/mydata/uwsgi.sock;
|
||||
uwsgi_pass localhost:8003;
|
||||
include uwsgi_params;
|
||||
uwsgi_param HTTPS on;
|
||||
proxy_read_timeout 30s;
|
||||
|
||||
@@ -4,7 +4,7 @@ server {
|
||||
server_name opendata.blender.org opendata.local opendata.sintel.local;
|
||||
|
||||
location / {
|
||||
uwsgi_pass unix:/var/www/opendata/uwsgi.sock;
|
||||
uwsgi_pass localhost:8002;
|
||||
include uwsgi_params;
|
||||
uwsgi_param HTTPS on;
|
||||
proxy_read_timeout 30s;
|
||||
|
||||
@@ -4,7 +4,7 @@ plugins = python3
|
||||
master = true
|
||||
enable-threads = true
|
||||
processes = 1
|
||||
socket = /var/www/mydata/uwsgi.sock
|
||||
socket = localhost:8003
|
||||
virtualenv = /var/www/mydata/.venv/
|
||||
chdir = /var/www/mydata
|
||||
module = mydata.wsgi:application
|
||||
|
||||
@@ -4,7 +4,7 @@ plugins = python3
|
||||
master = true
|
||||
enable-threads = true
|
||||
processes = 1
|
||||
socket = /var/www/opendata/uwsgi.sock
|
||||
socket = localhost:8002
|
||||
virtualenv = /var/www/opendata/.venv/
|
||||
chdir = /var/www/opendata
|
||||
module = opendata.wsgi:application
|
||||
|
||||
Reference in New Issue
Block a user