mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-22 12:49:20 +08:00
Merge pull request #2988 from chakflying/fix/socks-rejectUnauthorized
Fix: Pass rejectUnauthorized to Socks Proxy
This commit is contained in:
@@ -132,6 +132,9 @@ class Proxy {
|
|||||||
...httpAgentOptions,
|
...httpAgentOptions,
|
||||||
...httpsAgentOptions,
|
...httpsAgentOptions,
|
||||||
...proxyOptions,
|
...proxyOptions,
|
||||||
|
tls: {
|
||||||
|
rejectUnauthorized: httpsAgentOptions.rejectUnauthorized,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
httpAgent = agent;
|
httpAgent = agent;
|
||||||
|
Reference in New Issue
Block a user