Commit 1a1256bec41432b9cc60731f9414d63e48b18d28
1 parent
67c0d11178
Exists in
master
config host no_ssl
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
index.js
... | ... | @@ -24,7 +24,7 @@ for (let i=0; i < hostsCount; i++) { |
24 | 24 | } |
25 | 25 | else { |
26 | 26 | |
27 | - if (isIp(host.host.split('/')[0])) { | |
27 | + if (host.no_ssl || isIp(host.host.split('/')[0])) { | |
28 | 28 | console.log('Register ' + host.host + ' without SSL') |
29 | 29 | redbird.register(host.host, host.target, optionsWoSSL); |
30 | 30 | } |