From 7852cbca9738ee7af0c2af9547f733215cfa28fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 23 Jul 2022 09:46:46 +0200 Subject: [PATCH] Update _common.sh --- scripts/_common.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index fa724b8..89aeeb4 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -34,13 +34,6 @@ create_dir() { mkdir -p "/var/log/$app" } -config_nginx() { - if [ "$path_url" != "/" ] - then - ynh_replace_string --match_string "^#sub_path_only" --replace_string "" --target_file "../conf/nginx.conf" - fi - ynh_add_nginx_config -} config_gitea() { ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+")