diff options
-rw-r--r-- | lamp.sh | 5 | ||||
-rw-r--r-- | nextcloudpi.sh | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -104,11 +104,14 @@ EOF a2enconf php7.0-fpm a2enmod rewrite a2enmod headers - a2enmod env a2enmod dir a2enmod mime a2enmod ssl + a2dismod -f status reqtimeout env autoindex access_compat auth_basic authn_file authn_core alias access_compat + echo "ServerName localhost" >> /etc/apache2/apache2.conf + + # CONFIGURE LAMP FOR NEXTCLOUD ########################################## diff --git a/nextcloudpi.sh b/nextcloudpi.sh index ca5f0356..dedaad0a 100644 --- a/nextcloudpi.sh +++ b/nextcloudpi.sh @@ -68,8 +68,6 @@ 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 |