Fix api by reloading nginx after static files creation

Simó Albert i Beltran 2021-05-31 14:19:26 +02:00
parent defd0b51fe
commit 42388cf564
1 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
cd /api
python3 start.py &
#nginx -g daemon off
{
python3 start.py
nginx -s reload
} &