AIO Sandbox supports outbound proxy configuration and inbound preview proxying for services running inside the container.
Use PROXY_SERVER when browser or tool traffic needs an upstream HTTP/HTTPS proxy:
Optional allow and deny lists:
Applications started inside the sandbox can be previewed through the main HTTP port.
Path-style proxy:
Use /proxy/{port}/ for backend-style services and /absproxy/{port}/ when a frontend app expects absolute paths.
Header-style proxy:
x-aio-proxy-port is useful when a public gateway or custom reverse proxy cannot encode the target port in a subdomain. The sandbox forwards the request to 127.0.0.1:<port> and removes the control header before the request reaches the target service. Set or overwrite this header only at a trusted proxy layer; do not rely on a client-supplied value.
The proxy can also be inspected and updated through REST endpoints:
GET /v1/proxy/healthGET /v1/proxy/upstreamGET /v1/proxy/mappingsPOST /v1/proxy/mappingsDELETE /v1/proxy/mappings/{source}