Skip to content
Snippets Groups Projects
Verified Commit d1c74939 authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Fix.

parent 0bb12ebd
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -22,11 +22,14 @@ function build {
HOST=${SITES[$site]}
fi
UPSTREAM=${site//./_}
UPSTREAM=${UPSTREAM//-/_}
cp partials/proxy.erb dist/tmp-erb/$site
sed -i -e "s/__DOMAIN__/$site/g" dist/tmp-erb/$site
sed -i -e "s/__HOST__/$HOST/g" dist/tmp-erb/$site
sed -i -e "s/__UPSTREAM__/${HOST//-/_}/g" dist/tmp-erb/$site
sed -i -e "s/__UPSTREAM__/$UPSTREAM/g" dist/tmp-erb/$site
cd partials
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment