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:
2018-11-07 12:49:50 +01:00
parent 5fc27be7b5
commit 5b8088bf77
4 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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

View File

@@ -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