Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <daniel@techandme.se>2017-03-07 00:00:32 +0300
committerGitHub <noreply@github.com>2017-03-07 00:00:32 +0300
commited64d47ea652390b20d918e97bb386cbaffb6879 (patch)
tree12c68ee7a264882ac8a4a33d4f3a850fa80dbb42 /static/trusted.sh
parent4cab9b2512552c89c66be9972dfbf38972b7ba0f (diff)
Install Docker CE (#160)
Diffstat (limited to 'static/trusted.sh')
-rw-r--r--static/trusted.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/trusted.sh b/static/trusted.sh
index b8603d97..9c653fce 100644
--- a/static/trusted.sh
+++ b/static/trusted.sh
@@ -6,7 +6,7 @@ SCRIPTS=/var/scripts
# Change config.php
php $SCRIPTS/update-config.php $NCPATH/config/config.php 'trusted_domains[]' localhost ${ADDRESS[@]} $(hostname) $(hostname --fqdn) 2>&1 >/dev/null
-php $SCRIPTS/update-config.php $NCPATH/config/config.php overwrite.cli.url https://$ADDRESS/ 2>&1 >/dev/null
+php $SCRIPTS/update-config.php $NCPATH/config/config.php overwrite.cli.url https://$(hostname --fqdn)/ 2>&1 >/dev/null
# Change .htaccess accordingly
sed -i "s|RewriteBase /nextcloud|RewriteBase /|g" $NCPATH/.htaccess