Improved stability

This commit is contained in:
DomySh
2022-06-13 10:59:05 +02:00
parent cff484a976
commit b53768b5d2
16 changed files with 270 additions and 159 deletions

View File

@@ -14,12 +14,12 @@ http{
location / {
include proxy_params;
proxy_pass http://unix:/tmp/react.sock;
proxy_pass http://unix:/execute/react.sock;
}
location /api/ {
include uwsgi_params;
uwsgi_pass unix:/tmp/uwsgi.sock;
uwsgi_pass unix:/execute/uwsgi.sock;
}
}

View File

@@ -17,7 +17,7 @@ killasgroup=true
[program:frontend]
directory=/execute
user = nobody
command=serve -s frontend -l unix:/tmp/react.sock
command=serve -s frontend -l unix:/execute/react.sock
startsecs=10
stopsignal=QUIT
stopasgroup=true