Skip to content

Commit 1287817

Browse files
committed
Fix nginx config template selection when configured as proxy for apache + Fpm-Multiphp
1 parent eda0286 commit 1287817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/domain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ add_web_config() {
194194
format_domain_idn
195195

196196
WEBTPL_LOCATION="$WEBTPL/$1"
197-
if [ ! -z "$WEB_BACKEND" ] && [ -d "$WEBTPL_LOCATION/$WEB_BACKEND" ]; then
197+
if [ "$1" != "$PROXY_SYSTEM" ] && [ ! -z "$WEB_BACKEND" ] && [ -d "$WEBTPL_LOCATION/$WEB_BACKEND" ]; then
198198
if [ -f "$WEBTPL_LOCATION/$WEB_BACKEND/$2" ]; then
199199
# check for backend specific template
200200
WEBTPL_LOCATION="$WEBTPL/$1/$WEB_BACKEND"

0 commit comments

Comments
 (0)