diff --git a/conf/nginx.conf b/conf/nginx.conf index 8a45021..638ec0f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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; diff --git a/scripts/install b/scripts/install index 2925667..0a49394 100755 --- a/scripts/install +++ b/scripts/install @@ -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