Skip to content

Commit 88f8c90

Browse files
committed
Add Nginx port variable + fix Token expiry (now working with 1Y) + Fix Typo
1 parent 9869a36 commit 88f8c90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nginx_proxy_manager_cli.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ CONFIG_FILE="$SCRIPT_DIR/nginx_proxy_manager_cli.conf"
106106

107107
################################
108108
# PERSISTENT Config
109-
# Create config file $SCRIPT_DIR/nginx_proxy_manager_cli.conf and Variables to Edit (required)
109+
# Create config file $SCRIPT_DIR/nginx_proxy_manager_cli.conf and Edit Variables (required)
110110
# NGINX_IP="127.0.0.1"
111111
# API_USER="admin@example.com"
112112
# API_PASS="changeme"
@@ -118,7 +118,7 @@ if [ -f "$CONFIG_FILE" ]; then
118118
# configuration file loading
119119
source "$CONFIG_FILE"
120120
else
121-
echo -e " ⚠️ Configuration file $CONFIG_FILE don't exists. Used Default Variables... "
121+
echo -e " ⚠️ Configuration file $CONFIG_FILE doesn't exists. Using Default Variables... "
122122
fi
123123

124124

@@ -867,7 +867,7 @@ delete_proxy_host() {
867867
echo -e "${COLOR_RED}Failed to delete proxy host. HTTP status: $HTTP_STATUS. Error: $HTTP_BODY${CoR}"
868868
return 1
869869
else
870-
echo -e "${COLOR_GREEN}Proxy host 💣 deleted successfully!${CoR}\n"
870+
echo -e "${COLOR_GREEN}Proxy host successfully deleted! 💣${CoR}\n"
871871
return 0
872872
fi
873873
}

0 commit comments

Comments
 (0)