Improved stability
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user