|
|
@ -105,7 +105,8 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then |
|
|
|
cp -a /tmp/easyengine/config/nginx /tmp/easyengine/templates/* /usr/share/easyengine/ &>> $EE_UPDATE_LOG \ |
|
|
|
|| ee_lib_error "Unable to copy NGINX sample files, exit status = " $? |
|
|
|
|
|
|
|
# NGINX COMMON |
|
|
|
# NGINX Setup |
|
|
|
sed -i "s/X-Powered-By EasyEngine/X-Powered-By EasyEngine $EE_LATEST_VERSION/" /etc/nginx/nginx.conf |
|
|
|
rsync -avz --exclude acl.conf /usr/share/easyengine/nginx/common/* /etc/nginx/common/ &>> $EE_UPDATE_LOG \ |
|
|
|
|| ee_lib_error "Unable to rsync NGINX common files, exit status = " $? |
|
|
|
|
|
|
|