Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ httpjail --script ./check_request.sh -- curl https://github.com
httpjail --script '[ "$HTTPJAIL_HOST" = "github.com" ] && exit 0 || exit 1' -- git pull
```

If `--script` has spaces, it's run through `$SHELL` (default `/bin/sh`); otherwise it's executed directly.

**Environment variables provided to the script:**

- `HTTPJAIL_URL` - Full URL being requested
Expand Down
Loading