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

Add docs for a provider proxy (#255)

* Add instructions for an internal proxy provider

* Improve example test config

 * .. by moving CSAF_CONFIG out of the common fcgiwrap.conf,
   so it can more easily be changed in a different context.

* Improve proxy-provider-for-aggregator.md

 * Add section to aggregator documentation.
 * Fix typos.
 * Improve instructions.

* Fix one path

* Complre proxy-provider-for-aggregator.md
This commit is contained in:
Bernhard E. Reiter 2022-07-25 15:23:11 +02:00 committed by GitHub
parent c511a971d6
commit 677b0fdd4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 147 additions and 5 deletions

View file

@ -43,8 +43,8 @@ location /cgi-bin/ {
# Adjust non standard parameters (SCRIPT_FILENAME)
fastcgi_param SCRIPT_FILENAME /usr/lib$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param CSAF_CONFIG /etc/csaf/config.toml;
fastcgi_param SSL_CLIENT_VERIFY $ssl_client_verify;
@ -53,7 +53,7 @@ location /cgi-bin/ {
}
' | sudo tee /etc/nginx/fcgiwrap.conf
sudo sed -i "/^server {/a include fcgiwrap.conf;" $NGINX_CONFIG_PATH
sudo sed -i "/^server {/a\ include fcgiwrap.conf;" $NGINX_CONFIG_PATH
echo "
# For atomic directory switches