mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-05 21:25:19 +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]
|
[program:nginx]
|
||||||
command=/usr/sbin/nginx -g "daemon off;"
|
command=/usr/sbin/nginx -g "daemon off;"
|
||||||
autorestart=true
|
autorestart=true
|
||||||
|
priority=20
|
||||||
|
|
||||||
[program:gunicorn]
|
[program:gunicorn]
|
||||||
command=/code/entrypoint.sh
|
command=/code/entrypoint.sh
|
||||||
autorestart=true
|
autorestart=true
|
||||||
|
priority=10
|
||||||
|
startsecs=5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue