Add debug-pac-fonfig.md

This commit is contained in:
Andreas Tsouchlos 2025-06-03 16:51:49 -04:00
parent a291bf0d2a
commit 766576abee

View 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
```