From aa44eba29a039dd04e6648bac497565f871af7f6 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 26 Mar 2023 18:20:02 +0200 Subject: [PATCH] New version --- nextcloud/CHANGELOG.md | 1 + nextcloud/Dockerfile | 2 +- nextcloud/rootfs/defaults/nginx_addition | 6 ------ 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/nextcloud/CHANGELOG.md b/nextcloud/CHANGELOG.md index c663dc9d0..6b6ed40f0 100644 --- a/nextcloud/CHANGELOG.md +++ b/nextcloud/CHANGELOG.md @@ -1,3 +1,4 @@ +- Fix : solve AGAIN spam of healthcheck in logs ### 26.0.0-3 (26-03-2023) - Minor bugs fixed - Fix : bug in launcher script status detector if data is in a mounted directory diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index 6eea651f9..69f330f0d 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -172,7 +172,7 @@ LABEL \ ################# ENV HEALTH_PORT="80" \ - HEALTH_URL="/healthcheck" + HEALTH_URL="/robots.txt" HEALTHCHECK \ --interval=5s \ --retries=5 \ diff --git a/nextcloud/rootfs/defaults/nginx_addition b/nextcloud/rootfs/defaults/nginx_addition index 9f51dea66..b5cf94ba0 100644 --- a/nextcloud/rootfs/defaults/nginx_addition +++ b/nextcloud/rootfs/defaults/nginx_addition @@ -1,11 +1,5 @@ add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;"; -location /healthcheck { - proxy_pass http://127.0.0.1:80/status.php; - access_log off; - log_not_found off; -} - location = /.well-known/host-meta { return 301 $scheme://$http_hostpublic.php?service=host-meta; }