From 91c4aa9ea5fe3947281d9ec3935368bd85883ca6 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 23 Mar 2023 18:50:54 +0100 Subject: [PATCH] Update nginx_addition --- nextcloud/rootfs/defaults/nginx_addition | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nextcloud/rootfs/defaults/nginx_addition b/nextcloud/rootfs/defaults/nginx_addition index b5cf94ba0..2fe807730 100644 --- a/nextcloud/rootfs/defaults/nginx_addition +++ b/nextcloud/rootfs/defaults/nginx_addition @@ -1,5 +1,13 @@ add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;"; +location = /healthcheck { + access_log off; + try_files $uri $uri/ /index.php$request_uri; + + + log_not_found off; +} + location = /.well-known/host-meta { return 301 $scheme://$http_hostpublic.php?service=host-meta; }