Skip to content
Snippets Groups Projects
Verified Commit 92e37a3d authored by David Beniamine's avatar David Beniamine
Browse files

Update nextcloud 16

parent cb6512f6
Branches
Tags
No related merge requests found
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
Redirect 301 /.well-known/caldav /remote.php/caldav Redirect 301 /.well-known/caldav /remote.php/caldav
<Directory "/var/www/nextcloud/"> <Directory "/var/www/nextcloud/">
Options +FollowSymLinks Require all granted
Options FollowSymLinks Multiviews
AllowOverride All AllowOverride All
</Directory> </Directory>
...@@ -15,6 +16,8 @@ ...@@ -15,6 +16,8 @@
Dav off Dav off
</IfModule> </IfModule>
SetENv HOME /var/www/nextcloud
SetENv HTTP_HOME /var/www/nextcloud
<Directory "/var/www/nextcloud/data/"> <Directory "/var/www/nextcloud/data/">
# just in case if .htaccess gets disabled # just in case if .htaccess gets disabled
Require all denied Require all denied
...@@ -25,42 +28,6 @@ ...@@ -25,42 +28,6 @@
# Fix Poxy vulnerability # Fix Poxy vulnerability
# https://httpoxy.org/#fix-nowEquestHeader unset Proxy early # https://httpoxy.org/#fix-nowEquestHeader unset Proxy early
RequestHeader unset Proxy early RequestHeader unset Proxy early
<Directory "/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Require all granted
ErrorDocument 404 /erreur_404.php
# Compress output via deflate for recente browsers
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/htm
</Directory>
ErrorLog ${APACHE_LOG_DIR}/nextcloud.error.log ErrorLog ${APACHE_LOG_DIR}/nextcloud.error.log
# Possible values include: debug, info, notice, warn, error, crit, # Possible values include: debug, info, notice, warn, error, crit,
......
File moved
...@@ -68,7 +68,6 @@ DEBIAN_FRONTEND='noninteractive' apt-get -qq install \ ...@@ -68,7 +68,6 @@ DEBIAN_FRONTEND='noninteractive' apt-get -qq install \
php-curl \ php-curl \
php-gd \ php-gd \
php-intl \ php-intl \
php-mcrypt \
php-mysql \ php-mysql \
postfix \ postfix \
rkhunter \ rkhunter \
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# wget configuration # wget configuration
NEXTCLOUD_DIRECTORY_SOURCES=/root/NextcloudSources/ NEXTCLOUD_DIRECTORY_SOURCES=/root/NextcloudSources/
NEXTCLOUD_WGET_INPUT=nextcloudSource.txt NEXTCLOUD_WGET_INPUT=nextcloudSource.txt
NEXTCLOUD_VERSION="latest-14" NEXTCLOUD_VERSION="latest-16"
NEXTCLOUD_PACKAGE="$NEXTCLOUD_VERSION.tar.bz2" NEXTCLOUD_PACKAGE="$NEXTCLOUD_VERSION.tar.bz2"
# extract configuration # extract configuration
......
...@@ -51,7 +51,6 @@ DEBIAN_FRONTEND='noninteractive' apt-get update \ ...@@ -51,7 +51,6 @@ DEBIAN_FRONTEND='noninteractive' apt-get update \
php-imagick \ php-imagick \
php-json \ php-json \
php-mbstring \ php-mbstring \
php-mcrypt \
php-mysql \ php-mysql \
php-xml \ php-xml \
php-zip \ php-zip \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment