Skip to content

Commit

Permalink
doc(pac): add information about PAC file use
Browse files Browse the repository at this point in the history
  • Loading branch information
jmkerloch committed Oct 2, 2024
1 parent 492708b commit f0bb8dc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/guides/howto_behind_proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ qdt --proxy-http "http://user:[email protected]:8765"
- it avoids potential conflict with "classic" proxy settings
- it allows to use a specific network proxy for QDT (can be useful for some well controlled systems)

### Use PAC file

[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.

For QDT, PAC file can be used if no environment variable for proxy are already defined (`HTTP_PROXY`,`HTTPS_PROXY`, `QDT_PROXY_HTTP`).

[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).

#### Example on Windows PowerShell

Only for the QDT command scope:
Expand Down

0 comments on commit f0bb8dc

Please sign in to comment.