Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
dashboard
Commits
a66056ab
Verified
Commit
a66056ab
authored
Mar 28, 2022
by
EorlBruder
Browse files
feat(icecast): make reverse proxy optional
parent
9741dcc4
Pipeline
#1762
passed with stage
in 2 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nginx/run.sh
View file @
a66056ab
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment