From 96e42bee97904e524e104db6426451e12b445763 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 24 Jul 2020 17:26:37 +0200 Subject: [PATCH] fix --- conf/nginx.conf | 2 +- scripts/install | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index d9bd84a..14563aa 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -15,7 +15,7 @@ location __PATH__/ { } fastcgi_split_path_info ^(.+?\.php)(/.*)$; - fastcgi_pass unix:/var/run/php7.3-fpm-__NAME__.sock; + fastcgi_pass unix:/var/run/php7.0-fpm-__NAME__.sock; fastcgi_index index.php; include fastcgi_params; fastcgi_param REMOTE_USER $remote_user; diff --git a/scripts/install b/scripts/install index 88234d7..35c53d8 100644 --- a/scripts/install +++ b/scripts/install @@ -64,9 +64,6 @@ ynh_script_progression --message="Configuring firewall..." --weight=2 port=$(ynh_find_port 9537) ynh_app_setting_set --app=$app --key=port --value=$port -# Open this port -yunohost firewall allow --no-upnp TCP "$port" 2>&1 - #================================================= # INSTALL DEPENDENCIES #================================================= @@ -138,10 +135,6 @@ ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --ta ynh_store_file_checksum --file="$final_path/config/db.inc.php" - ## TODO: consider installation in a subpath - ynh_replace_string "'/ws/'" "'${path_url%/}/ws/'" \ - "$final_path/app/assets/js/movim_websocket.js" - #================================================= # Install PHP dependencies using composer #=================================================