diff --git a/files/nginx/setup-odk.sh b/files/nginx/setup-odk.sh index 37d831d0..e35085f4 100644 --- a/files/nginx/setup-odk.sh +++ b/files/nginx/setup-odk.sh @@ -33,11 +33,9 @@ export CNAME="$CNAME" echo "writing fresh nginx templates..." # redirector.conf gets deleted if using upstream SSL so copy it back envsubst '$CNAME' < /usr/share/odk/nginx/redirector.conf > /etc/nginx/conf.d/redirector.conf -cat /etc/nginx/conf.d/redirector.conf envsubst '$SSL_TYPE $CNAME $SENTRY_ORG_SUBDOMAIN $SENTRY_KEY $SENTRY_PROJECT' \ < /usr/share/odk/nginx/odk.conf.template \ > /etc/nginx/conf.d/odk.conf -cat /etc/nginx/conf.d/odk.conf if [ "$SSL_TYPE" = "letsencrypt" ]; then echo "starting nginx for letsencrypt..."