diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-09-06 21:02:36 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-09-06 21:02:36 +0300 |
commit | abe0ee73b4da2148996bd08c30f0995786d81a5b (patch) | |
tree | f76c1982a6a184202b7718370d9af238182a6243 | |
parent | 21832c1c0662ff11ea316dbc5c5c52f1c9fb248b (diff) |
disable not needed apache modulesv0.26.15
-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 |