1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/librespeed_ynh.git synced 2024-09-03 19:36:23 +02:00
This commit is contained in:
Éric Gaspar 2023-10-05 21:29:08 +02:00
parent ccb0f666a0
commit e362f5af76
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ location __PATH__/ {
# Path to source
alias __INSTALL_DIR__/;
index singleServer-full.html index.php;
index index.html index.php;
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
client_max_body_size 256M;

View file

@ -39,12 +39,12 @@ ynh_mysql_connect_as --user="$db_name" --password="$db_pwd" --database="$db_name
ynh_script_progression --message="Configuring $app..." --weight=3
ynh_add_config --template="../conf/telemetry_settings.php" --destination="$install_dir/results/telemetry_settings.php"
ynh_add_config --template="../conf/example-singleServer-full.html" --destination="$install_dir/singleServer-full.html"
ynh_add_config --template="../conf/example-singleServer-full.html" --destination="$install_dir/index.html"
chmod 400 "$install_dir/results/telemetry_settings.php"
chmod 400 "$install_dir/singleServer-full.html"
chmod 400 "$install_dir/index.html"
chown $app:www-data "$install_dir/results/telemetry_settings.php"
chown $app:www-data "$install_dir/singleServer-full.html"
chown $app:www-data "$install_dir/index.html"
#=================================================
# END OF SCRIPT