Takes an nginx file and turns it into json
go get -v github.com/rotem-cider/nginx-jq
wget https://raw.githubusercontent.com/rotem-cider/nginx-jq/main/tests/nginx.conf
./nginx-jq nginx.conf | jq -r ".. | (select(.Name==\"proxy_set_header\"))? | select(.Parameters[0] | startswith(\"X-Ldap\")) | [.Parameters[0], .Parameters[1]] | @csv"