Compare commits

..

No commits in common. "a89bd08c442b2681efc7888cb8238e0fc3d7a45d" and "f8a27157f53b974e1d7e852f0d4b78201269a9a6" have entirely different histories.

2 changed files with 2 additions and 10 deletions

View File

@ -53,8 +53,8 @@ check: check-message $(foreach dep,$(DEPENDENCIES),require($(dep)))
FORCE:
%: config %/make.sh FORCE
$*/make.sh
%: %/make.sh FORCE
$<
%.config: %/config.example

View File

@ -100,14 +100,6 @@ IP=$([ -z $DRY_RUN ] && lxc-attach $ID -- hostname -I)
sed -z -i \
-e \"s/\\(trusted_domains[^)]*\\)/\\1 2 => '${IP/ *}',\\n /\" \
/var/www/nextcloud/config/config.php"
# remove /index.php from urls...
# for more info see:
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#pretty-urls
@ lxc-attach $ID -- bash -c "\
sed -i \
-e \"/trusted_proxies/i\\ 'htaccess.RewriteBase' => '\\/',\\n\" \
/var/www/nextcloud/config/config.php"
@ lxc-attach $ID -- turnkey-occ maintenance:update:htaccess
echo "# Copying assets..."
@ pct-push-r $ID ./assets /