mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Improve Documentation for provider (#61)
This commit is contained in:
parent
5f6a067119
commit
7c64540c7e
1 changed files with 5 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ server {
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# Other config
|
# Other config
|
||||||
# ...
|
# ...
|
||||||
|
|
||||||
# For atomic directory switches
|
# For atomic directory switches
|
||||||
disable_symlinks off;
|
disable_symlinks off;
|
||||||
|
|
@ -70,6 +70,7 @@ server {
|
||||||
include fcgiwrap.conf;
|
include fcgiwrap.conf;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Reload nginx to apply the changes (e.g. ```systemctl reload nginx``` on Debian or Ubuntu).
|
||||||
|
|
||||||
Place the binary under `/usr/lib/cgi-bin/csaf_provider.go`.
|
Place the binary under `/usr/lib/cgi-bin/csaf_provider.go`.
|
||||||
Make sure `/usr/lib/cgi-bin/` exists.
|
Make sure `/usr/lib/cgi-bin/` exists.
|
||||||
|
|
@ -84,8 +85,10 @@ key = "/usr/lib/csaf/private.asc"
|
||||||
domain = "http://192.168.56.102"
|
domain = "http://192.168.56.102"
|
||||||
#no_passphrase = true
|
#no_passphrase = true
|
||||||
```
|
```
|
||||||
|
with suitable replacements
|
||||||
|
(This configurations-example assumes that the private/public keys are available under `/usr/lib/csaf/`).
|
||||||
|
|
||||||
|
|
||||||
with suitable replacements.
|
|
||||||
|
|
||||||
Create the folders:
|
Create the folders:
|
||||||
```(shell)
|
```(shell)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue