From 124794c4aa955c79ba25019d8573cafdbede4a12 Mon Sep 17 00:00:00 2001 From: "Bernhard E. Reiter" Date: Fri, 26 Aug 2022 12:23:51 +0200 Subject: [PATCH] Improve DNS example and itest setup (#285) * Make nginx only try to map the root (URL /) request to the provider-metadata.json for DNSPath, otherwise /index.txt will also serve that file. --- docs/scripts/DNSConfigForItest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scripts/DNSConfigForItest.sh b/docs/scripts/DNSConfigForItest.sh index 01c99a8..aa9a8ee 100755 --- a/docs/scripts/DNSConfigForItest.sh +++ b/docs/scripts/DNSConfigForItest.sh @@ -26,7 +26,7 @@ echo " server_name ${DNS_NAME}; # e.g. server_name csaf.data.security.domain.tld; - location / { + location = / { try_files /.well-known/csaf/provider-metadata.json =404; }