1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
This commit is contained in:
ericgaspar 2020-07-24 17:26:37 +02:00
parent 4cf9a1d250
commit 96e42bee97
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 1 additions and 8 deletions

View file

@ -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;

View file

@ -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
#=================================================