Add debug-pac-fonfig.md
This commit is contained in:
13
networking/debug-pac-config.md
Normal file
13
networking/debug-pac-config.md
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
1. Get `pac` file from url
|
||||||
|
```
|
||||||
|
$ curl http://proxyconf.glb.nokia.com/proxy.pac > proxy.pac
|
||||||
|
```
|
||||||
|
2. Determine proxy for url
|
||||||
|
```
|
||||||
|
$ pactester -p proxy.pac -u http://example.com
|
||||||
|
PROXY usfraaa-proxy.americas.nsn-net.net:8080; PROXY usfraaa-proxy.americas.nsn-net.net:8080;
|
||||||
|
```
|
||||||
|
3. Use curl to test access to url
|
||||||
|
```
|
||||||
|
$ curl -x usfraaa-proxy.americas.nsn-net.net:8080 http://example.com
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user