mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-05 13:15:18 +02:00
potential fix: set Supervisor priorities to ensure Gunicorn starts before nginx to prevent 502 errors
This commit is contained in:
parent
4ccfa6e42c
commit
b71109fd09
1 changed files with 3 additions and 0 deletions
|
@ -4,7 +4,10 @@ nodaemon=true
|
|||
[program:nginx]
|
||||
command=/usr/sbin/nginx -g "daemon off;"
|
||||
autorestart=true
|
||||
priority=20
|
||||
|
||||
[program:gunicorn]
|
||||
command=/code/entrypoint.sh
|
||||
autorestart=true
|
||||
priority=10
|
||||
startsecs=5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue