diff --git a/conf/config.yml b/conf/config.yml index 02d4994..f24ddda 100644 --- a/conf/config.yml +++ b/conf/config.yml @@ -10,7 +10,7 @@ db: full_refresh: false https_only: true -domain: http://__DOMAIN__ +domain: port: __PORT__ host_binding: 127.0.0.1 diff --git a/scripts/install b/scripts/install index ea46f54..f673102 100644 --- a/scripts/install +++ b/scripts/install @@ -140,7 +140,7 @@ cp ../conf/config.yml "$final_path/config/config.yml" # Main config File ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$final_path/config/config.yml" ynh_replace_string --match_string="__DB_PASS__" --replace_string="$db_pwd" --target_file="$final_path/config/config.yml" -ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$final_path/config/config.yml" +#ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$final_path/config/config.yml" ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config/config.yml" ynh_replace_string --match_string="__LANGUAGE__" --replace_string="$language" --target_file="$final_path/config/config.yml" diff --git a/scripts/upgrade b/scripts/upgrade index 97d6b64..31caf3b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -109,7 +109,7 @@ cp ../conf/config.yml "$final_path/config/config.yml" # Main config File ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$final_path/config/config.yml" ynh_replace_string --match_string="__DB_PASS__" --replace_string="$db_pwd" --target_file="$final_path/config/config.yml" -ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$final_path/config/config.yml" +#ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$final_path/config/config.yml" ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config/config.yml" ynh_replace_string --match_string="__LANGUAGE__" --replace_string="$language" --target_file="$final_path/config/config.yml"