From a79aedfc7e2f6ebf5615da770fc60bfb591639e4 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 15 Jan 2024 01:05:10 +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 d36a438..9dceaa9 100755 --- a/nextcloud/make.sh +++ b/nextcloud/make.sh @@ -104,7 +104,7 @@ IP=$([ -z $DRY_RUN ] && lxc-attach $ID -- hostname -I) # for more info see: # https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#pretty-urls @ lxc-attach $ID -- bash -c "\ - sed -z -i \ + sed -i \ -e \"/trusted_proxies/i\\ 'htaccess.RewriteBase' => '\\/',\\n\" \ /var/www/nextcloud/config/config.php" @ lxc-attach $ID -- turnkey-occ maintenance:update:htaccess