Skip to content

Commit 4f1087f

Browse files
committed
doc(pac): add information about PAC file use
1 parent 3690267 commit 4f1087f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/guides/howto_behind_proxy.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ qdt --proxy-http "http://user:[email protected]:8765"
2828
- it avoids potential conflict with "classic" proxy settings
2929
- it allows to use a specific network proxy for QDT (can be useful for some well controlled systems)
3030

31+
### Use PAC file
32+
33+
[PAC file](https://developer.mozilla.org/en-US/docs/Web/HTTP/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_PAC_file) can be used by SysAdmin to define proxy with a set of rules depending on the url.
34+
35+
For QDT, PAC file can be used if no environment variable for proxy are already defined (`HTTP_PROXY`,`HTTPS_PROXY`, `QDT_PROXY_HTTP`).
36+
37+
[PyPac](https://pypac.readthedocs.io/en/latest/) is used for PAC file management. By default we are using the PAC file defined by system but a custom PAC file can be defined with `QDT_PAC_FILE` environment variable (local file or url).
38+
3139
#### Example on Windows PowerShell
3240

3341
Only for the QDT command scope:

0 commit comments

Comments
 (0)