Configuration
Create an ISP proxy:Configuration Parameters
bypass_hosts(optional) - Array of hostnames that bypass the proxy and connect directly (max 100 entries)
import Kernel from '@onkernel/sdk';
const kernel = new Kernel();
const proxy = await kernel.proxies.create({
type: 'isp',
name: 'my-isp-proxy',
});
const browser = await kernel.browsers.create({
proxy_id: proxy.id,
});
bypass_hosts (optional) - Array of hostnames that bypass the proxy and connect directly (max 100 entries)import Kernel from '@onkernel/sdk';
const kernel = new Kernel();
const proxy = await kernel.proxies.create({
type: 'isp',
name: 'isp-with-bypass',
bypass_hosts: [
'localhost',
'internal.service.local',
'*.amazonaws.com',
],
});