Browse Source

Added missing add_header in nginx.conf

release/v3.3.0
gau1991 10 years ago
parent
commit
a63a7c121c
  1. 2
      install

2
install

@ -343,7 +343,7 @@ function ee_update_latest()
fi
if [ -f /etc/nginx/nginx.conf ]; then
sed -i "s/.*X-Powered-By.*/\tX-Powered-By \"EasyEngine $ee_version_new\";/" /etc/nginx/nginx.conf &>> /dev/null
sed -i "s/.*X-Powered-By.*/\tadd_header X-Powered-By \"EasyEngine $ee_version_new\";/" /etc/nginx/nginx.conf &>> /dev/null
fi
# Disable Xdebug on old systems if and only if ee debug is off

Loading…
Cancel
Save