mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +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:
parent
65c7925ed2
commit
124794c4aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue