mirror of
https://github.com/nextcloud/vm.git
synced 2025-08-16 16:04:36 +00:00
don't check for nono ports as it's not in the released lib
This commit is contained in:
@ -240,8 +240,8 @@ ${NONO_PORTS[*]}"
|
||||
DEDYNPORT=$(input_box_flow "Please choose which port you want between 1024 - 49151.\n\nPlease remember to open this port in your firewall.")
|
||||
if (("$DEDYNPORT" >= 1024 && "$DEDYNPORT" <= 49151))
|
||||
then
|
||||
if check_nono_ports "$DEDYNPORT"
|
||||
then
|
||||
#if check_nono_ports "$DEDYNPORT"
|
||||
#then
|
||||
print_text_in_color "$ICyan" "Changing to port $DEDYNPORT for public access..."
|
||||
# Main port
|
||||
sed -i "s|VirtualHost \*:443|VirtualHost \*:$DEDYNPORT|g" "$tls_conf"
|
||||
@ -261,7 +261,7 @@ ${NONO_PORTS[*]}"
|
||||
msg_box "Congrats! You should now be able to access Nextcloud publicly on: https://$TLSDOMAIN:$DEDYNPORT, after you opened port $DEDYNPORT in your firewall."
|
||||
break
|
||||
fi
|
||||
fi
|
||||
#fi
|
||||
else
|
||||
msg_box "The port number needs to be between 1024 - 49151, please try again."
|
||||
fi
|
||||
|
Reference in New Issue
Block a user