From 63ae3d12c108065e063b19be3c458db900fc040a Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Fri, 17 Oct 2014 19:51:10 +0530 Subject: [PATCH] Minor update --- src/modules/site/update/ee_mod_update_nginx.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/site/update/ee_mod_update_nginx.sh b/src/modules/site/update/ee_mod_update_nginx.sh index 4aaba0f9..1a6c5fc4 100644 --- a/src/modules/site/update/ee_mod_update_nginx.sh +++ b/src/modules/site/update/ee_mod_update_nginx.sh @@ -32,8 +32,8 @@ function ee_mod_update_nginx() # Update NGINX conf for HTML site if [ "$EE_SITE_CURRENT_OPTION" = "HTML" ]; then sed -i 's/access\.log/access.log rt_cache/' /etc/nginx/sites-available/$EE_DOMAIN && \ - sed -i '/index index.html index.htm;$/c \\tindex index.php index.htm index.html;' $/etc/nginx/sites-available/$EE_DOMAIN && \ - sed -i '/location \/ {/,/}/d ' $/etc/nginx/sites-available/$EE_DOMAIN \ + sed -i '/index index.html index.htm;$/c \\tindex index.php index.htm index.html;' /etc/nginx/sites-available/$EE_DOMAIN && \ + sed -i '/location \/ {/,/}/d ' /etc/nginx/sites-available/$EE_DOMAIN \ || ee_lib_error "Unable to update NGINX configuration to $EE_SITE_CREATE_OPTION $EE_SITE_CACHE_OPTION, exit status =" $? # Update HTML to PHP MySQL --basic (--wp/--wpsubdir/--wpsubdomain) options