We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afb9754 commit 24af0baCopy full SHA for 24af0ba
lib/models/redis/hosts.js
@@ -98,7 +98,7 @@ Hosts.prototype.upsertHostForContainerPort =
98
var actualPort = container.ports[containerPort][0].HostPort;
99
var parsedDockerHost = url.parse(container.dockerHost);
100
var backendUrl = url.format({
101
- protocol: 'http:',
+ protocol: (containerPort.toString() === '443') ? 'https:' : 'http:',
102
slashes: true,
103
hostname: parsedDockerHost.hostname,
104
port: actualPort
@@ -207,4 +207,4 @@ Hosts.prototype.readHipacheEntriesForContainer =
207
container: container,
208
cb: cb
209
};
210
- }
+ }
0 commit comments