# \[Feature Request\] Proxy auto-configuration (PAC) support

**URL:** https://hub.mender.io/t/feature-request-proxy-auto-configuration-pac-support/3518
**Category:** General Discussions
**Created:** [April 15, 2021, 8:34pm UTC](https://hub.mender.io/t/feature-request-proxy-auto-configuration-pac-support/3518 "2021-04-15T20:34:35Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![nowls](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@nowls](https://hub.mender.io/u/nowls)
#### Post date: [April 16, 2021, 10:01pm UTC](https://hub.mender.io/t/feature-request-proxy-auto-configuration-pac-support/3518/5 "2021-04-16T22:01:26Z")

</div>

I want to be able to resolve URLs for HTTP proxy servers dynamically by downloading and processing a [PAC file](https://developer.mozilla.org/en-US/docs/Web/HTTP/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_PAC_file), whose purpose is to tell an HTTP client which proxy server URL(s) to use for connections. Currently the Mender client only allows setting a static proxy URL using the HTTP\_PROXY or HTTPS\_PROXY environment variable.

A workaround I am considering is to use a stand-alone script or program that will download and process a PAC file and write the corresponding proxy server URL list to a file. Then I’d make a systemd timer that periodically runs that script and restarts Mender client with a new value for HTTPS\_PROXY.

---

_[View the full topic](https://hub.mender.io/t/feature-request-proxy-auto-configuration-pac-support/3518)._
