1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Fix php-version

This commit is contained in:
Josué Tille 2024-08-26 22:20:20 +02:00
parent 63e05d6425
commit d4c6f8f84b
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -53,7 +53,7 @@ data_path="/home/yunohost.app/matrix-$app"
main_domain=$(yunohost domain list --output-as json | jq -r .main) main_domain=$(yunohost domain list --output-as json | jq -r .main)
if [[ "$server_name" == "$default_domain_value" ]]; then if [[ "$server_name" == "$default_domain_value" ]]; then
server_name=$domain server_name=$domain
fi fi
#================================================= #=================================================
@ -241,7 +241,7 @@ ynh_script_progression --message="Configuring nginx web server..." --weight=2
# Create a dedicated php-fpm config # Create a dedicated php-fpm config
ynh_script_progression --message="Configuring application..." ynh_script_progression --message="Configuring application..."
ynh_add_fpm_config ynh_add_fpm_config --phpversion=8.2
# Create .well-known redirection for access by federation # Create .well-known redirection for access by federation
if yunohost --output-as plain domain list | grep -q "^$server_name$" if yunohost --output-as plain domain list | grep -q "^$server_name$"
@ -341,7 +341,7 @@ if yunohost --output-as plain domain list | grep -q "^$server_name$"; then
--label="Server info for clients. (well-known)" --show_tile=false --allowed=visitors \ --label="Server info for clients. (well-known)" --show_tile=false --allowed=visitors \
--auth_header=false --protected=true --auth_header=false --protected=true
fi fi
#================================================= #=================================================
# UPDATE HOOKS # UPDATE HOOKS
#================================================= #=================================================