1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 18:15:42 +01:00

feat: add access-control-allow-origin header

.. for better access from web applications.

improve #479
This commit is contained in:
Bernhard Reiter 2025-03-13 18:23:28 +01:00
parent ed55b659b4
commit 4429dd6985
No known key found for this signature in database
GPG key ID: 2B7BA3BF9BC3A554
2 changed files with 9 additions and 4 deletions

View file

@ -28,6 +28,8 @@ echo "
location = / {
try_files /.well-known/csaf/provider-metadata.json =404;
# allow others web applications to get the static information
add_header Access-Control-Allow-Origin "*";
}
access_log /var/log/nginx/dns-domain_access.log;