2018/10/10 13:47:59 [crit] 260#260: *267 connect() to unix:///data/isaus/isaus.sock failed (2: No such file or directory) while connecting to upstream$
2018/10/10 14:21:24 [crit] 260#260: *269 connect() to unix:///data/isaus/isaus.sock failed (2: No such file or directory) while connecting to upstream$
2018/10/10 14:21:25 [crit] 260#260: *271 connect() to unix:///data/isaus/isaus.sock failed (2: No such file or directory) while connecting to upstream$
2018/10/10 14:21:26 [crit] 260#260: *273 connect() to unix:///data/isaus/isaus.sock failed (2: No such file or directory) while connecting to upstream$
2018/10/10 14:21:38 [crit] 260#260: *275 connect() to unix:///data/isaus/isaus.sock failed (2: No such file or directory) while connecting to upstream$
2018/10/10 14:21:59 [crit] 260#260: *277 connect() to unix:///data/isaus/isaus.sock failed (2: No such file or directory) while connecting to upstream$
2018/10/10 14:22:03 [crit] 260#260: *279 connect() to unix:///data/isaus/isaus.sock failed (2: No such file or directory) while connecting to upstream$
/data
/isaus
/conf
/project
isaus.sock
# mysite_nginx.conf
# the upstream component nginx needs to connect to
upstream django {
server unix:///data/isaus/isaus.sock;
}
# configuration of the server
server {
listen 80;
server_name ovz1.cjgo.1qyn6.vps.myjino.ru;
charset utf-8;
# Django media
location /media {
alias /data/isaus/project/isaus/files/media;
}
location /static {
alias /data/isaus/project/mainapp/static;
}
location /data {
alias /data;
}
location / {
uwsgi_pass django;
include uwsgi_params;
}
}
# mysite_uwsgi.ini file
[uwsgi]
# Django-related settings
# the base directory (full path)
chdir = /data/isaus/project
# Django's wsgi file
module = isaus.wsgi
# the virtualenv (full path)
#home = /data/mysite/env/virtualenv
# process-related settings
# master
master = true
# maximum number of worker processes
processes = 10
# the socket
socket = /data/isaus/isaus.sock
# ... with appropriate permissions - may be needed
chmod-socket = 664
# clear environment on exit
vacuum = true
# account to start process
# uid = www-data
# gid = www-data
# Output messages to log
# daemonize=/var/log/uwsgi/isaus.log