summaryrefslogtreecommitdiffstats
path: root/.examples/docker-compose/insecure
AgeCommit message (Collapse)Author
2023-12-16Update the examples section according to the latest nginx configuration ↵Kaloyan Nikolov
required. (#2123) Signed-off-by: Kaloyan K Nikolov <tzerber@gmail.com>
2023-10-15Remove legacy header X-Download-Options in nginx.conf examples (#2077)am97
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>
2023-04-02Updates X-Robot-Tag in nginx.conf examples (#1960)Stavros Kois
* 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>
2023-03-28 Support SELinux in docker-compose.yml examples (fix #324) (#1957)J0WI
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-03-28Update MariaDB to 10.6 (#1956)J0WI
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-02-17Enable MariaDB binary log (#1881)Adam Monsen
* 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>
2022-09-06enable mariadb auto upgrade (#1814)Adam Monsen
* 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>
2022-02-17Prevent nginx HTTP Server DetectionJan Kiesewetter
Signed-off-by: Jan Kiesewetter <jan@t3easy.de>
2021-11-25add rewrite rule from official docs to nginx examples (#1635)aney1
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>
2021-07-18Lock mariadb to 10.5 in examples (fix #1536) (#1539)J0WI
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-07-18don't expose insecure ports to the public (#1523)fariszr
* don't expose insecure ports to public * don't expose insecure ports to public Signed-off-by: Fariszr <35614734+fariszr@users.noreply.github.com>
2021-06-27Update nginx.conf (#1517)J0WI
https://github.com/nextcloud/documentation/blob/master/admin_manual/installation/nginx-root.conf.sample Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-28typoJ0WI
2021-04-26Reduce examples (#1484)J0WI
2020-04-22Serve mp4 and webm files directly in nginx (#1076)J0WI
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-01-13Remove workaround to create the postgres db (fix #886) (#961)J0WI
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>
2019-11-07examples: docker-compose: Update nginx configs (#912)alexschroth
* 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>
2019-07-05Allow nextcloud to create the postgres db (#784)Tilo Spannagel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-06-19Let nginx decide on number of worker processes (#732)ykgmfq
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.
2019-03-04Issue #674 - Fix Remaining `.woff2` Issues in NGinx Config ExamplesGuy Elsmore-Paddock
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>
2019-02-07Remove app dockerfileTilo Spannagel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-01-27removed old redis.config.php filesmarceljd
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>
2019-01-27 Changes to be committed:marceljd
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>
2018-11-20Use Alpine Linux in examples and use default userJ0WI
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2018-09-11Add Referrer-Policy header examples for nginxLouis Matthijssen
2018-08-16Use $request_uri instead of $uri in nginx configTilo Spannagel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-01Remove trailing whitespacesTilo Spannagel
2018-04-19Changed db build to pre-existing image with command argumentsrabaraho
2018-03-21Use custom Dockerfile instead of mounted configTilo Spannagel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-02-08* Fix the Transaction Isolation Level of the MYSQL/MariaDB DatabasesGreek
in the .example section.
2018-01-30Use cron.sh for the example docker-compose.yml'sTilo Spannagel
2017-09-30Set client_max_body_size to 10GTilo Spannagel
2017-09-27Use autoconfig.php provided by the imageTilo Spannagel
2017-09-27Add depends_onTilo Spannagel
2017-09-27Add Dockerfile for nginxTilo Spannagel
2017-09-27Add insecure docker-compose examples for fpmTilo Spannagel
2017-09-27Remove unnecessary linksTilo Spannagel
2017-09-27Merge cron and redis exampleTilo Spannagel
2017-09-27Add mysql optionTilo Spannagel
2017-09-27Add insecure docker-compose examples for apacheTilo Spannagel