Skip to content

Commit c927234

Browse files
committed
First commit
1 parent 3a3b1ea commit c927234

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Takes an nginx file and turns it into json
55
### For example to search for any proxy header of ldap
66

77
```
8-
go get -v github.com/rotem-cider/nginx-jq@21b292fc
8+
go get -v github.com/rotem-cider/nginx-jq
99
wget https://raw.githubusercontent.com/rotem-cider/nginx-jq/main/tests/nginx.conf
1010
./nginx-jq nginx.conf | jq -r ".. | (select(.Name==\"proxy_set_header\"))? | select(.Parameters[0] | startswith(\"X-Ldap\")) | [.Parameters[0], .Parameters[1]] | @csv"
1111
```

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module github.com/rotem-cider/nginx-jq
22

3-
go 1.17
3+
go 1.16
44

55
require github.com/tufanbarisyildirim/gonginx v0.0.0-20210817111223-7fdce97d53d6

0 commit comments

Comments
 (0)