Merge pull request #17050 from overleaf/jpa-fix-server-pro-start

[server-pro] fix container startup sequence -- render nginx.conf first

GitOrigin-RevId: 89629ccdc2232f89a204d6ea8be1e650cb78c753
This commit is contained in:
Jakob Ackermann 2024-02-12 12:50:22 +00:00 committed by Copybot
parent 07a46545bb
commit ae3a529d8b

View file

@ -34,6 +34,9 @@ if [ -f "${nginx_template_file}" ]; then
< "${nginx_template_file}" \ < "${nginx_template_file}" \
> "${nginx_config_file}" > "${nginx_config_file}"
echo "Checking Nginx config"
nginx -t
echo "Nginx: reloading config" echo "Nginx: reloading config"
service nginx reload service nginx reload
fi fi