mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-04-26 09:02:27 +00:00
varible listen_ports should be in case which nice_host_type is proxy_host
This commit is contained in:
parent
7f2552d77f
commit
700d908abd
@ -233,8 +233,9 @@ const internalNginx = {
|
||||
// Set the IPv6 setting for the host
|
||||
host.ipv6 = internalNginx.ipv6Enabled();
|
||||
|
||||
let listen_ports = [];
|
||||
|
||||
if ( nice_host_type === 'proxy_host' ) {
|
||||
let listen_ports = [];
|
||||
host.domain_names.map(function (domain_name) {
|
||||
if ( domain_name.indexOf(":") > 0 ){
|
||||
listen_ports.push(parseInt(domain_name.substring(domain_name.indexOf(":")+1)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user