1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

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.
This commit is contained in:
Bernhard E. Reiter 2022-08-26 12:23:51 +02:00 committed by GitHub
parent 65c7925ed2
commit 124794c4aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ echo "
server_name ${DNS_NAME}; # e.g. server_name csaf.data.security.domain.tld; server_name ${DNS_NAME}; # e.g. server_name csaf.data.security.domain.tld;
location / { location = / {
try_files /.well-known/csaf/provider-metadata.json =404; try_files /.well-known/csaf/provider-metadata.json =404;
} }