diff --git a/scripts/_common.sh b/scripts/_common.sh index 6849d61..cbb0fd4 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -32,14 +32,6 @@ create_dir() { mkdir -p "/var/log/$app" } -config_nginx() { - if [ "$path_url" != "/" ] - then - ynh_replace_string "^#sub_path_only" "" "../conf/nginx.conf" - fi - ynh_add_nginx_config -} - config_gogs() { ynh_backup_if_checksum_is_different "$final_path/custom/conf/app.ini" ynh_backup_if_checksum_is_different "$final_path/custom/conf/auth.d/ldap.conf" diff --git a/scripts/remove b/scripts/remove index d31ed84..6f49832 100644 --- a/scripts/remove +++ b/scripts/remove @@ -80,7 +80,7 @@ ynh_remove_logrotate #================================================= ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1 -# Remove the dedicated nginx config +# Remove the dedicated NGINX config ynh_remove_nginx_config #=================================================