mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
feat(proxy): add NO_PROXY support and use request URL for proxy agent selection
- Parse NO_PROXY / no_proxy in Probe Config into a trimmed list - Wire NO_PROXY into UI docs, Helm chart values, and probe Docker/compose examples - Add NO_PROXY env var to Helm probe template when provided - Pass target URL to ProxyConfig.getRequestProxyAgents / getHttpProxyAgent / getHttpsProxyAgent so proxy selection is per-request - Update probe calls (Alive, Metrics, FetchList, FetchMonitorTest, Register, Monitor ingest/reporting, Api/Website/Ssl monitors) to use local URL variables and supply them to proxy helpers - Minor refactors to avoid inline URL construction where reused
This commit is contained in:
@@ -43,7 +43,7 @@ router.get(
|
||||
url: queueSizeUrl,
|
||||
data: requestBody,
|
||||
headers: {},
|
||||
options: { ...ProxyConfig.getRequestProxyAgents() },
|
||||
options: { ...ProxyConfig.getRequestProxyAgents(queueSizeUrl) },
|
||||
});
|
||||
|
||||
if (result instanceof HTTPErrorResponse) {
|
||||
|
||||
Reference in New Issue
Block a user