Skip to content

Commit 36e2f2f

Browse files
committed
update install.sh
1 parent 3b1bfdb commit 36e2f2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,8 @@ change_port() {
338338
echo -e "${yellow}×××××××××××××××××××××××${rest}"
339339
echo -e "${cyan}Current HTTPS port: ${purple}$current_port${rest}"
340340
echo -e "${yellow}×××××××××××××××××××××××${rest}"
341-
read -p "Enter the new HTTPS port: " new_port
341+
read -p "Enter the new HTTPS port [default: 443]: " new_port
342+
new_port=${new_port:-443}
342343
echo -e "${yellow}×××××××××××××××××××××××${rest}"
343344

344345
# Change the port in NGINX configuration file

0 commit comments

Comments
 (0)