Add files via upload

This commit is contained in:
xVRVx
2026-03-18 00:06:17 +03:00
committed by GitHub
parent 0c9f86995d
commit e726e4c8e0

View File

@@ -6,7 +6,7 @@ RED='\033[1;31m'
YEL='\033[1;33m'
NC='\033[0m' # No Color
echo -e "${GRN}Версия: 111 ${NC}"
echo -e "${GRN}Версия: 222 ${NC}"
[[ $EUID -eq 0 ]] || { echo -e "${RED}❌ скрипту нужны root права ${NC}"; exit 1; }
@@ -18,7 +18,7 @@ if [ -z "$DOMAIN" ]; then
fi
echo -e "${YEL}Обновление и установка необходимых пакетов...${NC}"
apt-get update && apt-get install curl jq dnsutils openssl nginx certbot -y
apt-get update && apt-get install curl jq dnsutils openssl nginx certbot wget tar -y
systemctl enable --now nginx
LOCAL_IP=$(hostname -I | awk '{print $1}')