Skip to content

Commit 0957111

Browse files
committed
Leave proxy_extentions replacement in the system
proxy_extentions was replaced with proxy_extensions how ever templates (non) Hestia depend on is
1 parent bd64dab commit 0957111

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

func/domain.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ add_web_config() {
231231
WEBTPL_LOCATION="$WEBTPL/$1/$WEB_BACKEND"
232232
fi
233233
fi
234-
234+
235+
# Leave proxy_extentions as custom templates might depend on it
235236
cat "${WEBTPL_LOCATION}/$2" | \
236237
sed -e "s|%ip%|$local_ip|g" \
237238
-e "s|%domain%|$domain|g" \
@@ -248,6 +249,7 @@ add_web_config() {
248249
-e "s|%proxy_system%|$PROXY_SYSTEM|g" \
249250
-e "s|%proxy_port%|$PROXY_PORT|g" \
250251
-e "s|%proxy_ssl_port%|$PROXY_SSL_PORT|g" \
252+
-e "s/%proxy_extentions%/${PROXY_EXT//,/|}/g" \
251253
-e "s/%proxy_extensions%/${PROXY_EXT//,/|}/g" \
252254
-e "s|%user%|$user|g" \
253255
-e "s|%group%|$user|g" \

0 commit comments

Comments
 (0)