mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
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:
parent
07a46545bb
commit
ae3a529d8b
1 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,9 @@ if [ -f "${nginx_template_file}" ]; then
|
|||
< "${nginx_template_file}" \
|
||||
> "${nginx_config_file}"
|
||||
|
||||
echo "Checking Nginx config"
|
||||
nginx -t
|
||||
|
||||
echo "Nginx: reloading config"
|
||||
service nginx reload
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue