Skip to content

Commit

Permalink
disable not needed apache modules
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Sep 6, 2017
1 parent 21832c1 commit abe0ee7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion lamp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
##########################################

Expand Down
2 changes: 0 additions & 2 deletions nextcloudpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit abe0ee7

Please sign in to comment.