mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
feat: set acao header
* adapt provider-setup.md to changes for the acao header.
This commit is contained in:
parent
4429dd6985
commit
527fe71992
1 changed files with 4 additions and 1 deletions
|
|
@ -78,6 +78,9 @@ server {
|
||||||
|
|
||||||
# directory listings
|
# directory listings
|
||||||
autoindex on;
|
autoindex on;
|
||||||
|
|
||||||
|
# allow others web applications to get the static information
|
||||||
|
add_header Access-Control-Allow-Origin "*";
|
||||||
}
|
}
|
||||||
|
|
||||||
# enable CGI
|
# enable CGI
|
||||||
|
|
@ -155,7 +158,7 @@ Again replacing `{clientCert.crt}` and `{clientKey.pem}` accordingly.
|
||||||
|
|
||||||
|
|
||||||
To let nginx resolves the DNS record `csaf.data.security.domain.tld` to fulfill the [Requirement 10](https://docs.oasis-open.org/csaf/csaf/v2.0/cs01/csaf-v2.0-cs01.html#7110-requirement-10-dns-path) configure a new server block (virtual host) in a separated file under `/etc/nginx/available-sites/{DNSNAME}` like following:
|
To let nginx resolves the DNS record `csaf.data.security.domain.tld` to fulfill the [Requirement 10](https://docs.oasis-open.org/csaf/csaf/v2.0/cs01/csaf-v2.0-cs01.html#7110-requirement-10-dns-path) configure a new server block (virtual host) in a separated file under `/etc/nginx/available-sites/{DNSNAME}` like following:
|
||||||
<!-- MARKDOWN-AUTO-DOCS:START (CODE:src=../docs/scripts/DNSConfigForItest.sh&lines=18-35) -->
|
<!-- MARKDOWN-AUTO-DOCS:START (CODE:src=../docs/scripts/DNSConfigForItest.sh&lines=18-37) -->
|
||||||
<!-- The below code snippet is automatically added from ../docs/scripts/DNSConfigForItest.sh -->
|
<!-- The below code snippet is automatically added from ../docs/scripts/DNSConfigForItest.sh -->
|
||||||
```sh
|
```sh
|
||||||
server {
|
server {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue