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

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nextcloudpi.sh')
-rw-r--r--nextcloudpi.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/nextcloudpi.sh b/nextcloudpi.sh
index 2c4d6777..f724b88c 100644
--- a/nextcloudpi.sh
+++ b/nextcloudpi.sh
@@ -68,6 +68,8 @@ EOF
chmod 700 /home/www/ncp-launcher.sh
echo "www-data ALL = NOPASSWD: /home/www/ncp-launcher.sh , /sbin/halt" >> /etc/sudoers
+ echo "ServerName localhost" >> /etc/apache2/apache2.conf
+
# NEXTCLOUDPI MOTD
##########################################
rm -rf /etc/update-motd.d