Fix startup template config path and omission from Dockerfile

This commit is contained in:
Matthew Wild 2021-02-02 16:10:36 +00:00
parent 0d83ce2d93
commit 9c0de8c92c
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ ADD entrypoint.sh /entrypoint.sh
ADD render-template.sh /usr/local/bin/render-template.sh
ADD nginx/nginx.conf /etc/nginx/nginx.conf
ADD nginx/snikket-common.template /etc/nginx/templates/snikket-common
ADD nginx/startup.template /etc/nginx/templates/startup
ADD nginx/http.template /etc/nginx/templates/http
ADD nginx/https.template /etc/nginx/templates/https
ADD supervisord.conf /etc/supervisord/supervisord.conf

View File

@ -9,7 +9,7 @@ if test -f "$CERT_PATH"; then
/usr/local/bin/render-template.sh "/etc/nginx/templates/$proto" "/etc/nginx/sites-enabled/$proto";
done
else
/usr/local/bin/render-template.sh "/etc/nginx/templates/startup.template" "/etc/nginx/sites-enabled/startup";
/usr/local/bin/render-template.sh "/etc/nginx/templates/startup" "/etc/nginx/sites-enabled/startup";
fi
exec supervisord -c /etc/supervisord/supervisord.conf