1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-05 05:05:17 +02:00

potential fix: set Supervisor priorities to ensure Gunicorn starts before nginx to prevent 502 errors

This commit is contained in:
ClumsyAdmin 2025-03-21 20:25:25 -04:00
parent 4ccfa6e42c
commit b71109fd09

View file

@ -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