3 ms·
HTTP Proxy in iOS Settings offers three options: Off: proxies no HTTP requests. Manual: proxies all HTTP requests through a proxy server at the specified host
by jasomill 13y ago
HTTP Proxy in iOS Settings offers three options:
Off: proxies no HTTP requests.
Manual: proxies all HTTP requests through a proxy server at the specified host and port.
Auto: uses JavaScript code hosted on a Web server at a specified (unproxied) URL to determine how HTTP requests get proxied. Assuming your proxy server is at host.example.com:8080, specifying a URL pointing to a file containing
function FindProxyForURL(url, host) {
if (shExpMatch(host, "*.vm.example.com")) {
return "PROXY host.example.com:8080";
} else {
return "DIRECT";
}
}
should proxy only HTTP requests whose URLs point to hosts in the .vm.example.com subdomain through your proxy server.
Disclaimer: I haven't tested any of this, and everything I know about proxy auto-configuration comes from skimming the Wikipedia page[1] just now.
[1] http://en.wikipedia.org/wiki/Proxy_auto-config http://en.wikipedia.org/wiki/Proxy_auto-config