mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-12-26 13:22:03 +00:00
Compare commits
No commits in common. "a89bd08c442b2681efc7888cb8238e0fc3d7a45d" and "f8a27157f53b974e1d7e852f0d4b78201269a9a6" have entirely different histories.
a89bd08c44
...
f8a27157f5
4
Makefile
4
Makefile
@ -53,8 +53,8 @@ check: check-message $(foreach dep,$(DEPENDENCIES),require($(dep)))
|
|||||||
FORCE:
|
FORCE:
|
||||||
|
|
||||||
|
|
||||||
%: config %/make.sh FORCE
|
%: %/make.sh FORCE
|
||||||
$*/make.sh
|
$<
|
||||||
|
|
||||||
|
|
||||||
%.config: %/config.example
|
%.config: %/config.example
|
||||||
|
|||||||
@ -100,14 +100,6 @@ IP=$([ -z $DRY_RUN ] && lxc-attach $ID -- hostname -I)
|
|||||||
sed -z -i \
|
sed -z -i \
|
||||||
-e \"s/\\(trusted_domains[^)]*\\)/\\1 2 => '${IP/ *}',\\n /\" \
|
-e \"s/\\(trusted_domains[^)]*\\)/\\1 2 => '${IP/ *}',\\n /\" \
|
||||||
/var/www/nextcloud/config/config.php"
|
/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..."
|
echo "# Copying assets..."
|
||||||
@ pct-push-r $ID ./assets /
|
@ pct-push-r $ID ./assets /
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user