diff --git a/conf/nginx.conf b/conf/nginx.conf index 6fd7dbf..37c135d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -13,7 +13,7 @@ location __PATH__/ { proxy_buffering off; ### Example PHP configuration (remove it if not used) - index index.php; + #index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file #client_max_body_size 50M; diff --git a/scripts/upgrade b/scripts/upgrade index 764012e..93bb5e4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -77,7 +77,8 @@ path_url=$(ynh_normalize_url_path $path_url) systemctl stop $app # Download, check integrity, uncompress and patch the source from app.src# -ynh_setup_source "$final_path" +#ynh_setup_source "$final_path" +(cd $final_path && git pull) #================================================= # NGINX CONFIGURATION