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:
authornachoparker <nacho@ownyourbits.com>2017-09-06 21:02:36 +0300
committernachoparker <nacho@ownyourbits.com>2017-09-06 21:02:36 +0300
commitabe0ee73b4da2148996bd08c30f0995786d81a5b (patch)
treef76c1982a6a184202b7718370d9af238182a6243
parent21832c1c0662ff11ea316dbc5c5c52f1c9fb248b (diff)
disable not needed apache modulesv0.26.15
-rw-r--r--lamp.sh5
-rw-r--r--nextcloudpi.sh2
2 files changed, 4 insertions, 3 deletions
diff --git a/lamp.sh b/lamp.sh
index e5438c84..40a28cda 100644
--- a/lamp.sh
+++ b/lamp.sh
@@ -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