Verified Commit a66056ab authored by EorlBruder's avatar EorlBruder
Browse files

feat(icecast): make reverse proxy optional

parent 9741dcc4
Pipeline #1762 passed with stage
in 2 minutes and 58 seconds
......@@ -13,6 +13,12 @@ do
sed -i 's|DASHBOARD_OIDC_CLIENT_ID|'${DASHBOARD_OIDC_CLIENT_ID}'|g' $file
done
if [ $INCLUDE_ICECAST == "\"true\"" ]; then
sed -Ei 's/^#([[:blank:]]*include \/etc\/nginx\/conf.d\/locations\/icecast.conf;)/\1/' default.conf
else
sed -i 's/^[[:blank:]]*include \/etc\/nginx\/conf.d\/locations\/icecast.conf;/#&/' /etc/nginx/conf.d/default.conf
fi
echo "generated nginx-config"
if [ $RUN_CERTBOT == "\"true\"" ]; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment