Age | Commit message (Collapse) | Author |
|
required. (#2123)
Signed-off-by: Kaloyan K Nikolov <tzerber@gmail.com>
|
|
The header was relevant for Internet Explorer only and was removed from the nextcloud/server code: https://github.com/nextcloud/server/commit/ea0e45d81e6963dab8c89981538f9d5fe2d51472
Signed-off-by: Andrés Maldonado <maldonado@codelutin.com>
|
|
Signed-off-by: David Li <david@davidl.me>
|
|
* Update X-Robot-Tag in nginx.conf example
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
* update nginx.conf examples
* Update .examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
* apply to all files
---------
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
|
|
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
|
|
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
|
|
Signed-off-by: severinkaelin <39438642+severinkaelin@users.noreply.github.com>
|
|
* Enable MariaDB binary log
This resolves a warning in the database server log:
[Warning] You need to use --log-bin to make --binlog-format work.
Pros:
* support for point-in-time recovery
* necessary for replication
Cons:
* slows down database operations ("slightly", per the manual)
* takes up disk space (mitigated by `--expire-logs-days=2`)
See also:
* <https://mariadb.com/kb/en/binary-log/>
* <https://mariadb.com/kb/en/full-list-of-mariadb-options-system-and-status-variables/>
Alternatives:
1. Do not add `--log-bin`. Remove `--binlog-format` instead. This causes the least amount of change for existing installations.
Signed-off-by: Adam Monsen <haircut@gmail.com>
* remove --expire-logs-days=2 mariadb flag
This better aligns with recommendations in the Nextcloud documentation.
Also: the flag isn't necessary. There are already set times for cleanup: The MySQL and MariaDB documentation both state that binary logs will be purged on startup and flush/rotation.
Signed-off-by: Adam Monsen <haircut@gmail.com>
---------
Signed-off-by: Adam Monsen <haircut@gmail.com>
|
|
Signed-off-by: Adam Monsen <haircut@gmail.com>
|
|
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
|
|
|
|
* enable mariadb auto upgrade
This fixes after-upgrade issues, for example:
[ERROR] Incorrect definition of table mysql.event: expected column 'definer' at position 3 to have type varchar(, found type char(141).
The upgrade only happens when necessary.
I also disabled the system database backup because I assume users create
and test their own backups.
Signed-off-by: Adam Monsen <haircut@gmail.com>
* use 1s instead of "yesplease"
Any nonzero value is valid for these environment variables.
Signed-off-by: Adam Monsen <haircut@gmail.com>
Signed-off-by: Adam Monsen <haircut@gmail.com>
|
|
Signed-off-by: Jan Kiesewetter <jan@t3easy.de>
|
|
Signed-off-by: Lejo1 <Lejo_1@web.de>
|
|
Signed-off-by: Lejo1 <Lejo_1@web.de>
|
|
Without this rewrite rule you can't access some pages (like LDAP config).
These lines are present in the official docs: https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
Signed-off-by: aney1 <aney1@users.noreply.github.com>
|
|
As stated in https://hub.docker.com/r/jrcs/letsencrypt-nginx-proxy-companion/ the the project has moved to a new registry and therefore that should be used instead.
|
|
Signed-off-by: Marcel Blöcher <mblo@users.noreply.github.com>
|
|
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
|
|
* don't expose insecure ports to public
* don't expose insecure ports to public
Signed-off-by: Fariszr <35614734+fariszr@users.noreply.github.com>
|
|
https://github.com/nextcloud/documentation/blob/master/admin_manual/installation/nginx-root.conf.sample
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
|
|
|
|
|
|
Signed-off-by: BuildTools <tim.tannert@tu-dortmund.de>
|
|
* Update nginx.conf
* Update nginx.conf
* Update nginx.conf
|
|
Signed-off-by: Bill Mitchell <bill@publicrelay.com>
|
|
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
|
|
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
|
|
Signed-off-by: Simon Hötten <simon@hoetten.org>
|
|
This reverts commit 4df6f795684fcfdb2b507f89a388e9ad9e6e081e.
The upstream bug has been fixed in https://github.com/nextcloud/server/pull/15187
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
|
|
Inspired by #847, I selected the rootdir as the place for our configuration
since we already chuck a few files there as seen by https://github.com/nextcloud/docker/blob/master/17.0/fpm-alpine/Dockerfile#L122.
Suggested-by: mikecai <mikecai@us.ibm.com>
Signed-off-by: Diab Neiroukh <officiallazerl0rd@gmail.com>
|
|
* examples: docker-compose: insecure: postgres: Update nginx.conf
This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.
References:
- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html
Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
* examples: docker-compose: insecure: mariadb-cron-redis: Update nginx.conf
This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.
References:
- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html
Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
* examples: docker-compose: insecure: mariadb: Update nginx.conf
This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.
References:
- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html
Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
* examples: docker-compose: with-nginx-proxy: mariadb: Update nginx.conf
This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.
References:
- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html
Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
* examples: docker-compose: with-nginx-proxy: mariadb-cron-redis: Update nginx.conf
This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.
References:
- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html
Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
* examples: docker-compose: with-nginx-proxy: postgres: Update nginx.conf
This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.
References:
- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html
Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
* examples: docker-compose: with-nginx-proxy-self-signed-ssl: mariadb: Update nginx.conf
This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.
References:
- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html
Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
|
|
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
|
|
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
|
Signed-off-by: Tilo Spannagel <development@tilosp.de>
|
|
Otherwise nginx buffers uploads which at least with the linux client results
in large files failing to upload and the upload stats not updating.
Signed-off-by: Christoph Reiter <reiter.christoph@gmail.com>
|
|
From https://www.nginx.com/blog/tuning-nginx/:
In most cases, running one worker process per CPU core works well,
and we recommend setting this directive to auto to achieve that.
There are times when you may want to increase this number,
such as when the worker processes have to do a lot of disk I/O.
|
|
This ensures that the remaining NGinx config examples are updated to handle WOFF 2 font files.
Closes #674.
Signed-off-by: Guy Elsmore-Paddock <guy@inveniem.com>
|
|
Signed-off-by: Tilo Spannagel <development@tilosp.de>
|
|
Set Redis through environment variables
|
|
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
|
|
On branch redis-env-vars
Changes to be committed:
deleted: ../../apache/app/redis.config.php
deleted: redis.config.php
deleted: ../../../../with-nginx-proxy/mariadb-cron-redis/apache/app/redis.config.php
deleted: ../../../../with-nginx-proxy/mariadb-cron-redis/fpm/app/redis.config.php
Signed-off-by: marceljd <support@dihosting.ch>
|
|
modified: .config/redis.config.php
modified: .examples/docker-compose/insecure/mariadb-cron-redis/apache/docker-compose.yml
modified: .examples/docker-compose/insecure/mariadb-cron-redis/fpm/docker-compose.yml
modified: .examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/docker-compose.yml
modified: .examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/docker-compose.yml
modified: 13.0/apache/Dockerfile
modified: 13.0/apache/config/redis.config.php
modified: 13.0/fpm-alpine/Dockerfile
modified: 13.0/fpm-alpine/config/redis.config.php
modified: 13.0/fpm/Dockerfile
modified: 13.0/fpm/config/redis.config.php
modified: 14.0/apache/Dockerfile
modified: 14.0/apache/config/redis.config.php
modified: 14.0/fpm-alpine/Dockerfile
modified: 14.0/fpm-alpine/config/redis.config.php
modified: 14.0/fpm/Dockerfile
modified: 14.0/fpm/config/redis.config.php
modified: 15.0/apache/Dockerfile
modified: 15.0/apache/config/redis.config.php
modified: 15.0/fpm-alpine/Dockerfile
modified: 15.0/fpm-alpine/config/redis.config.php
modified: 15.0/fpm/Dockerfile
modified: 15.0/fpm/config/redis.config.php
modified: README.md
Signed-off-by: marceljd <support@dihosting.ch>
|
|
Fix woff2 files in nginx examples
|
|
Since some versions of Nextcloud, fonts are served as woff2, which is
not forwarded to index.php by the supplied nginx.conf. This leads to
nginx returning the dynamic index page instead of the static fonts.
Signed-off-by: Nico Kaiser <nico@kaiser.me>
|
|
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
|
|
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
|
|
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
|
|
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
|
|
There is a warning issued in Nextcloud 15 about 'imagick' php extension not
being present. They highly recommend that it be installed.
Fixes #574, fixes #263
Signed-off-by: Robert Dailey <rcdailey@gmail.com>
|