From 007691caf88dcf5c9952fb8bb5e2cdbcfff3192b Mon Sep 17 00:00:00 2001 From: sparklyballs Date: Mon, 22 May 2017 13:41:58 +0100 Subject: [PATCH 1/2] update to nextcloud 12 --- Dockerfile | 3 ++- README.md | 3 +++ root/defaults/default | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ffc5131f..e0f828b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ ARG VERSION LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" # package version -ENV NEXTCLOUD_VER="11.0.3" +ENV NEXTCLOUD_VER="12.0.0" # environment settings ENV NEXTCLOUD_PATH="/config/www/nextcloud" @@ -62,6 +62,7 @@ RUN \ php7-mbstring \ php7-mcrypt \ php7-memcached \ + php7-opcache \ php7-pcntl \ php7-pdo_mysql \ php7-pdo_pgsql \ diff --git a/README.md b/README.md index a282c334..c2019b45 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,8 @@ Access the webui at `:443`, for more information check out [Nextcloud][ Please note you will need a MySQL/MariaDB or other backend database to set this up. Also please look [here](https://docs.nextcloud.com/server/11/admin_manual/installation/system_requirements.html#database-requirements-for-mysql-mariadb) for how to configure your database with regard to binlog format and installation. +If updating to nextcloud 12 you will need to comment out line `add_header X-Frame-Options "SAMEORIGIN";` in the file /config/nginx/site-confs/default + ## Info * Monitor the logs of the container in realtime `docker logs -f nextcloud`. @@ -79,5 +81,6 @@ Please note you will need a MySQL/MariaDB or other backend database to set this ## Versions ++ **22.05.17:** Update to nextcloud 12.0, adding required dependecies and note about commenting out SAMEORIGIN; always line. + **03.05.17:** Use community repo of memcached. + **07.03.17:** Release into main repository and upgrade to php7 and Alpine 3.5. diff --git a/root/defaults/default b/root/defaults/default index f33ea25d..81dd5389 100644 --- a/root/defaults/default +++ b/root/defaults/default @@ -20,7 +20,7 @@ server { # Add headers to serve security related headers add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;"; add_header X-Content-Type-Options nosniff; - add_header X-Frame-Options "SAMEORIGIN"; + # add_header X-Frame-Options "SAMEORIGIN"; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; add_header X-Download-Options noopen; From b88a56ff28b5da3475d2499bec1c2bac1e53b74a Mon Sep 17 00:00:00 2001 From: sparklyballs Date: Mon, 22 May 2017 13:47:56 +0100 Subject: [PATCH 2/2] amend changelog line --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c2019b45..be1f8310 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,6 @@ If updating to nextcloud 12 you will need to comment out line `add_header X-Fram ## Versions -+ **22.05.17:** Update to nextcloud 12.0, adding required dependecies and note about commenting out SAMEORIGIN; always line. ++ **22.05.17:** Update to nextcloud 12.0, adding required dependecies and note about commenting out SAMEORIGIN; line. + **03.05.17:** Use community repo of memcached. + **07.03.17:** Release into main repository and upgrade to php7 and Alpine 3.5.