Skip to content

Commit

Permalink
add doc for load pac from remote file
Browse files Browse the repository at this point in the history
  • Loading branch information
darren committed Feb 2, 2019
1 parent f8d57ca commit e46447c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,21 @@ pacproxy is a proxy that parses pac file and start a simple http proxy which wil

Ensure that `Go(>=1.11.5)` environment has been properly setup.

```bash
```go
go get -u -v github.com/darren/pacroxy
```


## Usage

```
```bash
# Load pac from local file
pacroxy -p wpad.dat -l 127.0.0.1:9999

# Load pac from remote file
pacroxy -p http://wpad.local/wpad.dat -l 127.0.0.1:9999

# To test
curl -x 127.0.0.1:9999 https://example.com
```

Expand Down

0 comments on commit e46447c

Please sign in to comment.