<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEProxySettings/proxyAutoConfigurationURL",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEProxySettings(py)proxyAutoConfigurationURL"
  },
  "title" : "proxyAutoConfigurationURL"
}
-->

# proxyAutoConfigurationURL

A URL specifying the location from where the Proxy Auto Configuration (PAC) script should be downloaded.

```
var proxyAutoConfigurationURL: URL? { get set }
```

## Discussion

If [`autoProxyConfigurationEnabled`](/documentation/NetworkExtension/NEProxySettings/autoProxyConfigurationEnabled) is set to <doc://com.apple.documentation/documentation/Swift/true> and [`proxyAutoConfigurationJavaScript`](/documentation/NetworkExtension/NEProxySettings/proxyAutoConfigurationJavaScript) is set to nil then the system will download the PAC script from this location and execute the script to determine what proxies to use (if any) for HTTP and HTTPS connections.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)