PAC file with registry setting
In this proxy configuration, the Proxy Auto-Configuration (PAC) file can be configured in Password Reset Windows Application registry settings.
The name of the registry setting enables the proxy via PAC file is UseProxyAutoConfigScript. The PAC script location (URL) can be provided in the ProxyServer setting. The reference
configuration is provided as shown in the following image:
Registry setting to configure proxy via PAC
- ProxyEnable – <true>
Enables the proxy on application level.
- ProxyServer – <PAC file URL>
Initialize the PAC file location here.
- UseProxyAutoConfigScript – <true>
If set to true, it indicates that the address provided in the ProxyServer registry setting is PAC script.
How it works
The PAC file provided in the ProxyServer registry setting is used to get the actual target proxy server address for a URL (In this case, the ServiceNow instance) based on the PAC file script configuration. The PAC file script must return a valid Proxy server address for a provided ServiceNow URL to make the application work.