File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ XDEBUG_UPSTREAM_FILE="/etc/nginx/conf.d/xdebug/upstream.conf"
14
14
[ ! -z " ${MAGENTO_RUN_MODE} " ] && sed -i " s/!MAGENTO_RUN_MODE!/${MAGENTO_RUN_MODE} /" $VHOST_FILE
15
15
[ ! -z " ${MFTF_UTILS} " ] && sed -i " s/!MFTF_UTILS!/${MFTF_UTILS} /" $VHOST_FILE
16
16
[ ! -z " ${UPLOAD_MAX_FILESIZE} " ] && sed -i " s/!UPLOAD_MAX_FILESIZE!/${UPLOAD_MAX_FILESIZE} /" $VHOST_FILE
17
+ [ ! -z " ${WITH_XDEBUG} " ] && sed -i " s/!WITH_XDEBUG!/${WITH_XDEBUG} /" $VHOST_FILE
17
18
[ " ${WITH_XDEBUG} " == " 1" ] && sed -i " s/#include_xdebug_upstream/include/" $NGINX_FILE
18
19
19
20
# Check if the nginx syntax is fine, then launch.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ server {
11
11
set $MAGE_ROOT !MAGENTO_ROOT!; # Variable: MAGENTO_ROOT
12
12
set $MAGE_MODE !MAGENTO_RUN_MODE!; # Variable: MAGENTO_RUN_MODE
13
13
set $MFTF_UTILS !MFTF_UTILS!; # Variable: MFTF_UTILS
14
- set $WITH_XDEBUG !$ WITH_XDEBUG!; # Variable: WITH_XDEBUG
14
+ set $WITH_XDEBUG !WITH_XDEBUG!; # Variable: WITH_XDEBUG
15
15
16
16
set $my_fastcgi_pass "fastcgi_backend";
17
17
if ($cookie_XDEBUG_SESSION) {
You can’t perform that action at this time.
0 commit comments