cloudflare IP优选 并自动解析到cloudflare(Python实现)
import requests import json from datetime import datetime, timedelta, timezone # Cloudflare API 参数 api_token = "api_token" zone_id = "zone_id" domain = "domain" # Telegram Bot…
|
614
|
|
192 字
|
10 分钟
宝塔面板定时拉取github releases版本文件
一、服务器安装 GH sudo apt install gh 二、脚本文件 #!/bin/bash # Telegram Bot 设置(写死在代码中) TG_API_TOKEN="Bot API Token" # 替换为你创建的 Bot API Token TG_USER_ID="Telegram 用户 ID" # 替换为你的 Telegram 用…
|
1,029
|
|
122 字
|
5 分钟
哪吒面板(v1)安装细节
一、配置文件 配置文件最后添加 upstream dashboard { keepalive 512; server 127.0.0.1:8008; } 二、反代配置 #PROXY-START/ location ^~ / { proxy_pass http://127.0.0.1:8008; proxy_set_header Host $host…
|
672
|
|
173 字
|
6 分钟