We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd64dab commit 0957111Copy full SHA for 0957111
func/domain.sh
@@ -231,7 +231,8 @@ add_web_config() {
231
WEBTPL_LOCATION="$WEBTPL/$1/$WEB_BACKEND"
232
fi
233
234
-
+
235
+ # Leave proxy_extentions as custom templates might depend on it
236
cat "${WEBTPL_LOCATION}/$2" | \
237
sed -e "s|%ip%|$local_ip|g" \
238
-e "s|%domain%|$domain|g" \
@@ -248,6 +249,7 @@ add_web_config() {
248
249
-e "s|%proxy_system%|$PROXY_SYSTEM|g" \
250
-e "s|%proxy_port%|$PROXY_PORT|g" \
251
-e "s|%proxy_ssl_port%|$PROXY_SSL_PORT|g" \
252
+ -e "s/%proxy_extentions%/${PROXY_EXT//,/|}/g" \
253
-e "s/%proxy_extensions%/${PROXY_EXT//,/|}/g" \
254
-e "s|%user%|$user|g" \
255
-e "s|%group%|$user|g" \
0 commit comments