mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 21:26:04 +00:00
misc: added sni
This commit is contained in:
@@ -51,7 +51,8 @@ export const executeWithGateway = async <T>(
|
|||||||
}
|
}
|
||||||
const httpsAgent = new https.Agent({
|
const httpsAgent = new https.Agent({
|
||||||
ca: connectionDetails.sslCertificate,
|
ca: connectionDetails.sslCertificate,
|
||||||
rejectUnauthorized: connectionDetails.sslRejectUnauthorized
|
rejectUnauthorized: connectionDetails.sslRejectUnauthorized,
|
||||||
|
servername: targetHost
|
||||||
});
|
});
|
||||||
return withGatewayV2Proxy(
|
return withGatewayV2Proxy(
|
||||||
async (proxyPort) => {
|
async (proxyPort) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user