From e0b24c452f705ebbfa11bc644e4c07c7c05507a5 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 15 Jan 2024 00:54:28 +0300 Subject: [PATCH] tweaking... Signed-off-by: Alex A. Naanou --- nextcloud/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud/make.sh b/nextcloud/make.sh index 7bfd94d..d36a438 100755 --- a/nextcloud/make.sh +++ b/nextcloud/make.sh @@ -105,7 +105,7 @@ IP=$([ -z $DRY_RUN ] && lxc-attach $ID -- hostname -I) # https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#pretty-urls @ lxc-attach $ID -- bash -c "\ sed -z -i \ - -e \"s/\\(trusted_proxies[^)]*\\)/ 'htaccess.RewriteBase' => '\\/',\\n \\1/\" \ + -e \"/trusted_proxies/i\\ 'htaccess.RewriteBase' => '\\/',\\n\" \ /var/www/nextcloud/config/config.php" @ lxc-attach $ID -- turnkey-occ maintenance:update:htaccess