mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-12-25 21:02:04 +00:00
Compare commits
5 Commits
f8a27157f5
...
a89bd08c44
| Author | SHA1 | Date | |
|---|---|---|---|
| a89bd08c44 | |||
| a79aedfc7e | |||
| e0b24c452f | |||
| 93eafd706f | |||
| fb17a8dbc0 |
4
Makefile
4
Makefile
@ -53,8 +53,8 @@ check: check-message $(foreach dep,$(DEPENDENCIES),require($(dep)))
|
|||||||
FORCE:
|
FORCE:
|
||||||
|
|
||||||
|
|
||||||
%: %/make.sh FORCE
|
%: config %/make.sh FORCE
|
||||||
$<
|
$*/make.sh
|
||||||
|
|
||||||
|
|
||||||
%.config: %/config.example
|
%.config: %/config.example
|
||||||
|
|||||||
@ -100,6 +100,14 @@ 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