mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-04-26 17:12:27 +00:00
formatting nginx.js
This commit is contained in:
parent
bbeb4f5a60
commit
7f2552d77f
@ -234,7 +234,7 @@ const internalNginx = {
|
||||
host.ipv6 = internalNginx.ipv6Enabled();
|
||||
|
||||
let listen_ports = [];
|
||||
if(nice_host_type === 'proxy_host'){
|
||||
if ( nice_host_type === 'proxy_host' ) {
|
||||
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