mirror of
https://github.com/YunoHost-Apps/matomo_ynh.git
synced 2024-09-03 19:45:56 +02:00
Update change_url
Update trusted_hosts in config.ini.php
This commit is contained in:
parent
b874b9e33c
commit
c12b940bef
1 changed files with 10 additions and 0 deletions
|
@ -18,6 +18,16 @@ ynh_script_progression --message="Updating NGINX web server configuration..." --
|
||||||
|
|
||||||
ynh_change_url_nginx_config
|
ynh_change_url_nginx_config
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# SPECIFIC MODIFICATIONS
|
||||||
|
#=================================================
|
||||||
|
# RECONFIGURING MATOMO
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Reconfiguring Matomo..." --weight=2
|
||||||
|
|
||||||
|
# See https://matomo.org/faq/how-to-install/faq_18/
|
||||||
|
ynh_replace_string --match_string="trusted_hosts[] = \"$old_domain\"" --replace_string="trusted_hosts[] = \"$new_domain\"" --target_file="$install_dir/config/config.ini.php"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP A CRON
|
# SETUP A CRON
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue